[Bug 4226] New: Confusing order of operations in revsets
mercurial-bugs at selenic.com
mercurial-bugs at selenic.com
Thu Apr 17 16:56:53 CDT 2014
http://bz.selenic.com/show_bug.cgi?id=4226
Priority: normal
Bug ID: 4226
CC: mercurial-devel at selenic.com
Assignee: bugzilla at selenic.com
Summary: Confusing order of operations in revsets
Severity: bug
Classification: Unclassified
OS: Mac OS
Reporter: joshgold at alum.mit.edu
Hardware: Macintosh
Status: UNCONFIRMED
Version: 2.9.1
Component: Mercurial
Product: Mercurial
If you specify a revset like this:
set1 + set2 - set3
It is interpreted as
set1 + (set2 - set3)
I expected (set1 + set2) - set3.
I think many would find this confusing. I think it should probably be changed
so that + and - are the same priority.
In either case (change to implementation or not) it would be helpful if order
of operations is documented under "help revsets".
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Mercurial-devel
mailing list