[PATCH RFC] revset: abort when tag or bookmark doesn't exist
Idan K
idankk86 at gmail.com
Fri Apr 8 10:40:16 CDT 2011
On Thu, Apr 7, 2011 at 8:06 PM, Idan Kamara <idankk86 at gmail.com> wrote:
> # HG changeset patch
> # User Idan Kamara <idankk86 at gmail.com>
> # Date 1302193456 -10800
> # Node ID 4849d56d971f6cd854fba667053a717f1ffc7269
> # Parent 9adf82e2fe4cfd0c5af82b3b2879333145c3249e
> revset: abort when tag or bookmark doesn't exist
>
To elaborate a bit on why I think we want this: currently when specifying a
tag or bookmark that don't exist an empty set is returned.
I've seen several people get burned by this due to silly typos in the
tag/bookmark name.
For the record, branch(x) behaves the same way (albeit somewhat differently
because even if x is not a branch it falls back to checking if it's any node
identifier).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20110408/8250427b/attachment.htm>
More information about the Mercurial-devel
mailing list