Author: adsb
Date: 2009-01-02 18:12:10 +0000 (Fri, 02 Jan 2009)
New Revision: 1771

Modified:
   trunk/debian/changelog
   trunk/scripts/debchange.pl
Log:
* debchange:
  + Correctly increment bpo version numbers.

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog      2009-01-02 18:09:23 UTC (rev 1770)
+++ trunk/debian/changelog      2009-01-02 18:12:10 UTC (rev 1771)
@@ -11,6 +11,8 @@
     and to avoid a number of similar issues. (Closes: #510343)
   * Debbugs.pm: Allow the address of the debbugs server to be specified
     rather than hard-coding bugs.debian.org.
+  * debchange:
+    + Correctly increment bpo version numbers.
   * debdiff:
     + Fix a couple of formatting issues in the manpage.
     + Mention --{no-,}diffstat in the help message.

Modified: trunk/scripts/debchange.pl
===================================================================
--- trunk/scripts/debchange.pl  2009-01-02 18:09:23 UTC (rev 1770)
+++ trunk/scripts/debchange.pl  2009-01-02 18:12:10 UTC (rev 1771)
@@ -986,7 +986,7 @@
                 $debian_revision++;
                 $start = "$upstream_version-$debian_revision";
                 $end = "";
-           } elsif ($opt_bpo and not $start =~ /~bpo\.$/) {
+           } elsif ($opt_bpo and not $start =~ /~bpo[0-9]+\+$/) {
                # If it's not already a backport make it so
                # otherwise we can be safe if we behave like dch -i
                $end .= "~bpo40+1";



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

Reply via email to