[Pkg-ocaml-maint-commits] r5883 - /trunk/tools/svn2git/glondu_svn2git.py

glondu-guest at users.alioth.debian.org glondu-guest at users.alioth.debian.org
Thu Jul 24 12:20:17 UTC 2008


Author: glondu-guest
Date: Thu Jul 24 12:20:17 2008
New Revision: 5883

URL: http://svn.debian.org/wsvn/?sc=1&rev=5883
Log:
[~ -> .] there, too

Modified:
    trunk/tools/svn2git/glondu_svn2git.py

Modified: trunk/tools/svn2git/glondu_svn2git.py
URL: http://svn.debian.org/wsvn/trunk/tools/svn2git/glondu_svn2git.py?rev=5883&op=diff
==============================================================================
--- trunk/tools/svn2git/glondu_svn2git.py (original)
+++ trunk/tools/svn2git/glondu_svn2git.py Thu Jul 24 12:20:17 2008
@@ -313,6 +313,8 @@
             print "# couldn't find the parent rev, fill in manually"
             print "git checkout ????"
         if tag_name:
+            # '~' is not valid in tag names
+            tag_name = tag_name.replace('~', '.')
             cmd = "git tag debian/%s -m %s" % (tag_name, escape_for_shell(self.msg))
         else:
             print "# unable to find tag name"




More information about the Pkg-ocaml-maint-commits mailing list