[issue518] PATCH: Change default tag behaviour to not overwrite existing tags.

Johan Herland mercurial-bugs at selenic.com
Wed Mar 14 19:06:52 CDT 2007


New submission from Johan Herland <johherla at online.no>:

When adding a tag, the default behaviour should not be to
silently overwrite an earlier tag with the same name. Instead,
the tag creation should fail with an error message. However,
overwriting tags should be allowed when the new -f/--force
flag is specified.

This patch implements:
1. The change in default behaviour.
2. The addition of -f/--force to override default behaviour.
3. Minor change to test-tags reflecting the new behaviour.

----------
files: hgtagforcefix-johherla-take1.patch
messages: 2895
nosy: jherland
priority: bug
status: unread
title: PATCH: Change default tag behaviour to not overwrite existing tags.

____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://www.selenic.com/mercurial/bts/issue518>
____________________________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hgtagforcefix-johherla-take1.patch
Type: text/x-diff
Size: 4942 bytes
Desc: not available
Url : http://www.selenic.com/pipermail/mercurial-devel/attachments/20070315/375fec3d/hgtagforcefix-johherla-take1.bin


More information about the Mercurial-devel mailing list