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

Brendan Cully brendan at kublai.com
Wed Mar 21 12:59:56 CDT 2007


On Thursday, 15 March 2007 at 00:06, Johan Herland wrote:
> 
> 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.

+1


More information about the Mercurial-devel mailing list