[Bug 3850] New: tag() revset is inconsistent with branch() when name is given as regex
mercurial-bugs at selenic.com
mercurial-bugs at selenic.com
Tue Mar 5 14:43:53 CST 2013
http://bz.selenic.com/show_bug.cgi?id=3850
Priority: normal
Bug ID: 3850
CC: mercurial-devel at selenic.com
Assignee: bugzilla at selenic.com
Summary: tag() revset is inconsistent with branch() when name
is given as regex
Severity: bug
Classification: Unclassified
OS: All
Reporter: michalsznajder at gmail.com
Hardware: All
Status: UNCONFIRMED
Version: 2.5.1
Component: Mercurial
Product: Mercurial
If there is no branch matching regex then nothing is returned:
$ hg log --rev "branch('re:unknown')" ; echo $?
0
However for unknown tag error is reported:
$ hg log --rev "tag('re:unknown')" ; echo $?
abort: no tags exist that match 'unknown'
255
I would expect that in case no tags are matching revset no revision is reported
and no error code is returned.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Mercurial-devel
mailing list