[Bug 5451] New: Feature request: list pruned changesets

mercurial-bugs at mercurial-scm.org mercurial-bugs at mercurial-scm.org
Fri Dec 16 14:45:02 EST 2016


            Bug ID: 5451
           Summary: Feature request: list pruned changesets
           Product: Mercurial
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: feature
          Priority: wish
         Component: evolution
          Assignee: bugzilla at mercurial-scm.org
          Reporter: falsifian at google.com
                CC: mercurial-devel at selenic.com,
                    pierre-yves.david at ens-lyon.org

Sometimes I discard a change using hg prune, but would like to be able to refer
to it later. I would like a way to list changesets that were pruned.

I've tried making a revset expression to do this, but haven't managed. For
example, I thought the following should do it:

  hg log --hidden -r 'obsolete() - allprecursors(all())'

but shows me a lot of log messages like "temporary amend commit for (some
hash)" or "fold-temp-revision (some hash)", as well as a few commits I'm pretty
sure have successors that are still alive.

You are receiving this mail because:
You are on the CC list for the bug.

More information about the Mercurial-devel mailing list