Author: jamessan
Date: 2010-01-09 00:02:16 +0000 (Sat, 09 Jan 2010)
New Revision: 2076

Modified:
   trunk/debian/changelog
   trunk/scripts/debcommit.pl
Log:
Change '~' in version numbers to '.' when tagging in git.  Thanks to Damyan 
Ivanov.  (Closes: #564075)

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog      2010-01-06 13:19:45 UTC (rev 2075)
+++ trunk/debian/changelog      2010-01-09 00:02:16 UTC (rev 2076)
@@ -1,8 +1,10 @@
 devscripts (2.10.62) UNRELEASED; urgency=low
 
-  * debcommit: Fix a regression where only debian/ changes were being
-    committed in CVS repos.  Thanks to Thomas Parmelan for the patch.
-    (Closes: #563918)
+  * debcommit:
+    + Fix a regression where only debian/ changes were being committed in CVS
+      repos.  Thanks to Thomas Parmelan for the patch.  (Closes: #563918)
+    + Change '~' in version numbers to '.' when tagging in git.  Thanks to
+      Damyan Ivanov.  (Closes: #564075)
   * rmadison:
     + Add http://qa.debian.org/cgi-madison/madison.cgi, shorthand "udd", as a
       known madison URL.

Modified: trunk/scripts/debcommit.pl
===================================================================
--- trunk/scripts/debcommit.pl  2010-01-06 13:19:45 UTC (rev 2075)
+++ trunk/scripts/debcommit.pl  2010-01-09 00:02:16 UTC (rev 2076)
@@ -631,9 +631,10 @@
     }
     elsif ($prog eq 'git') {
        $tag=~s/^[0-9]+://; # strip epoch
+       $tag=~tr/~/./; # mangle for git
        if ($tag=~/-/) {
-               # not a native package, so tag as a debian release
-               $tag="debian/$tag";
+           # not a native package, so tag as a debian release
+           $tag="debian/$tag";
        }
 
        if ($signtags) {



-- 
To unsubscribe, send mail to [email protected].

Reply via email to