use the right ref when creating initial tag while branching
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Thu, 21 Jan 2010 11:32:11 +0000 (11:32 +0000)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Thu, 21 Jan 2010 11:32:11 +0000 (11:32 +0000)
module-tools.py

index 8a7a51f..d755c19 100755 (executable)
@@ -1000,7 +1000,7 @@ will be based on latest tag %s and *not* on the current trunk"""%(self.name,bran
         self.run_prompt("Commit trunk",command)
         # create initial tag for the new trunk
         new_tag_url=self.tag_url(spec_dict)
-        command="svn copy --file %s %s %s"%(tmp,self.edge_url(),new_tag_url)
+        command="svn copy --file %s %s %s"%(tmp,tag_url,new_tag_url)
         self.run_prompt("Create initial tag in trunk",command)
         os.unlink(tmp)
         # print message about SVNBRANCH