[Bug 5607] New: revsetlang "-" "+" should be left to right operations

mercurial-bugs at mercurial-scm.org mercurial-bugs at mercurial-scm.org
Sun Jun 25 11:56:26 EDT 2017


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

            Bug ID: 5607
           Summary: revsetlang "-" "+" should be left to right operations
           Product: Mercurial
           Version: default branch
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: bug
          Priority: wish
         Component: revset
          Assignee: bugzilla at mercurial-scm.org
          Reporter: arcppzju+hgbug at gmail.com
                CC: mercurial-devel at mercurial-scm.org

Expected:

  hg log -r 'A+B-A'
  outputs only B

Actual:

  It's parsed as A+(B-A), and outputs A and B.

This is less intuitive and we might want to fix it if it's easy.

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


More information about the Mercurial-devel mailing list