From: Eric S. Raymond Date: Sun, 9 Nov 2014 17:32:35 +0000 (-0500) Subject: Make the back end complain if tags collide. X-Git-Tag: 0.3~3 X-Git-Url: http://thyrsus.com/gitweb/?a=commitdiff_plain;h=f7a3b011bc7c1e8a83af32f24c449a4c17e5cdaa;p=src.git Make the back end complain if tags collide. The tag_helper logic should not allow this, but just in case... Regression test passes. --- diff --git a/src b/src index 8965e60..41ad3f0 100755 --- a/src +++ b/src @@ -891,12 +891,12 @@ class RCS: do_or_die("rcs -n{0} {1}".format(tagname, arg)) def set_tag(self, tagname, revision, _baserev, arg): "Set a specified tag." - do_or_die("rcs -N{0}:{1} {2}".format(tagname, revision, arg)) + do_or_die("rcs -n{0}:{1} {2}".format(tagname, revision, arg)) def delete_branch(self, branchname, arg): "Delete a specified branch." croak("branch deletion is not yet supported") def set_branch(self, branchname, revision, baserev, arg): - "Set a specified branch." + "Set the specified branch to be default, creating if required." croak("branch creation is not yet supported") def move(self, source, target): "Move a file and its history."