Unable to list hidden commits
I had a hidden commit I wanted to unhide, but I didn't remember its SHA1. I tried listing hidden commits:
╰─○ sl log -r 'hidden()'
abort: a35342ca9f85b967346c283560947c6d1f433f8b cannot be found!
╰─○ sl show a35342ca9f85b967346c283560947c6d1f433f8b
abort: a35342ca9f85b967346c283560947c6d1f433f8b cannot be found!
I expected hidden() to return a revset that only includes hidden commits, and I expected sl log to be able to list them. I managed to find the SHA1 of the commit I wanted by looking at my shell's history and finding the correct sl hide $SHA1 I needed. After I retrieved the hidden commit's SHA1, I was able to show and log the commit:
╰─○ sl log -r 'c7267bc1626bd20e2fa25cd8e8d0c6ad223980bf'
changeset: c7267bc1626bd20e2fa25cd8e8d0c6ad223980bf
user: François Beausoleil <[email protected]>
date: Mon, 17 Apr 2023 11:30:13 -0400
I also tried to find all hidden commits by using the revset all() - not hidden(), but that didn't return anything at all.
Is there anything else I can provide that would help discover if there is a bug or if there is a data error in my local database? Thanks a bunch for your time!
╰─○ sl doctor
checking internal storage
checking commit references
This reports no additional messages and returns 0.