[Bug 4964] New: Template function shortest() should consider hidden revisions

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Mon Nov 23 17:59:54 UTC 2015


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

            Bug ID: 4964
           Summary: Template function shortest() should consider hidden
                    revisions
           Product: Mercurial
           Version: 3.6.1
          Hardware: PC
                OS: Linux
            Status: UNCONFIRMED
          Severity: bug
          Priority: wish
         Component: evolution
          Assignee: bugzilla at selenic.com
          Reporter: martinvonz at google.com
                CC: mercurial-devel at selenic.com,
                    pierre-yves.david at ens-lyon.org

I have shortest() as part of my standard template. So far, I have been able to
copy&paste from the log output to e.g. "hg co" the revision, but today I ran
into a revision that was shortened enough that it conflicted with hidden
revisions, and "hg co" resulted in:

abort: 00changelog.i at 18b8: ambiguous identifier!

We should probably make shortest() take hidden revisions into account.

Another option would be to make "hg co $rev" (without --hidden) not complain
about ambiguity with hidden revisions, but I suspect that has already been
considered and rejected.

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


More information about the Mercurial-devel mailing list