[Bug 5195] New: label completion silently aborts when labels point to hidden revs

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Mon Apr 11 16:17:33 UTC 2016


https://bz.mercurial-scm.org/show_bug.cgi?id=5195

            Bug ID: 5195
           Summary: label completion silently aborts when labels point to
                    hidden revs
           Product: Mercurial
           Version: unspecified
          Hardware: PC
                OS: Mac OS
            Status: UNCONFIRMED
          Severity: bug
          Priority: normal
         Component: Mercurial
          Assignee: bugzilla at selenic.com
          Reporter: kbullock+mercurial at ringworld.org
                CC: mercurial-devel at selenic.com

If I have a label pointing to a hidden rev, hg debugnamecomplete aborts, which
causes the bash completion function _hg_labels() to silently fail:

    $ hg debugnamecomplete feature/
abort: 00changelog.i at 588044ccfb0b810c8d6b08d17b8c3922a0d80802: filtered node!

I arrived at this juncture by pushing a bookmark to a Git repo via hg-git, then
deleting that branch from the remote and rebasing my local branch. There was a
leftover ref that I couldn't prune without diving into .hg/git/ and fixing it
up manually.

Perhaps the bug is that we can have labels injected by extensions that don't
unhide the changesets they point to.

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


More information about the Mercurial-devel mailing list