The following commit has been merged in the master branch:
commit 11ccb9688545fe4b6d12afa81f4b5d964d91d99a
Author: Stefano Rivera <[email protected]>
Date:   Thu Oct 6 00:38:32 2011 +0200

    debchange: Add precise as a recognised Ubuntu distro.

diff --git a/debian/changelog b/debian/changelog
index 4fe8392..3100fe7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -19,6 +19,9 @@ devscripts (2.11.2) UNRELEASED; urgency=low
   * debchange: Document that only `$1' backreference replacements are
     supported.  Thanks to Matthijs Kooijman for the patch.  (Closes: #639813)
 
+  [ Stefano Rivera ]
+  * debchange: Add precise as a recognised Ubuntu distro.
+
  -- Gerfried Fuchs <[email protected]>  Fri, 26 Aug 2011 21:09:51 +0200
 
 devscripts (2.11.1) unstable; urgency=low
diff --git a/scripts/debchange.pl b/scripts/debchange.pl
index 9f68276..0da718a 100755
--- a/scripts/debchange.pl
+++ b/scripts/debchange.pl
@@ -412,8 +412,8 @@ if (defined $opt_D) {
            $warnings++ if not $opt_force_dist;
        }
     } elsif ($distributor eq 'Ubuntu') {
-       unless ($opt_D =~ 
/^((hardy|lucid|maverick|natty|oneiric)(-updates|-security|-proposed|-backports)?|UNRELEASED)$/)
 {
-           warn "$progname warning: Recognised distributions 
are:\n{hardy,jaunty,karmic,lucid,maverick,natty}{,-updates,-security,-proposed,-backports}
 and UNRELEASED.\nUsing your request anyway.\n";
+       unless ($opt_D =~ 
/^((hardy|lucid|maverick|natty|oneiric|precise)(-updates|-security|-proposed|-backports)?|UNRELEASED)$/)
 {
+           warn "$progname warning: Recognised distributions 
are:\n{hardy,lucid,maverick,natty,oneiric,precise}{,-updates,-security,-proposed,-backports}
 and UNRELEASED.\nUsing your request anyway.\n";
            $warnings++ if not $opt_force_dist;
        }
     } else {

-- 
Git repository for devscripts


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

Reply via email to