[Bug 5602] New: "x:: - x" revset parsed incorrectly

mercurial-bugs at mercurial-scm.org mercurial-bugs at mercurial-scm.org
Tue Jun 20 02:40:27 UTC 2017


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

            Bug ID: 5602
           Summary: "x:: - x" revset parsed incorrectly
           Product: Mercurial
           Version: default branch
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: bug
          Priority: normal
         Component: Mercurial
          Assignee: bugzilla at mercurial-scm.org
          Reporter: gregory.szorc at gmail.com
                CC: mercurial-devel at mercurial-scm.org

On the Mercurial repo:

  $ hg log -r '3abba:: - 3abba'
  abort: unknown revision '-3abba'!

Somehow that "- 3abba" appears to get parsed to revision "-3abba".

If you put something after the double colon, it works. e.g.:

  $ hg log -r '3abba::tip - 3abba'

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


More information about the Mercurial-devel mailing list