chiark / gitweb /
fetch and pull ignore the changelog suite when it is UNRELEASED.
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 9 Jan 2017 02:08:07 +0000 (02:08 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 9 Jan 2017 13:08:32 +0000 (13:08 +0000)
Closes:#848646.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
debian/changelog
dgit

index 158bcae..4556644 100644 (file)
@@ -13,6 +13,8 @@ dgit (3.0~) unstable; urgency=medium
     and is now fixed even for more-extended ones.
   * dgit clone-dgit-repos-server uses readonly access.
     Closes:#850521.
+  * fetch and pull ignore the changelog suite when it is UNRELEASED.
+    Closes:#848646.
 
   Minor new feature:
   * distro alias facility in config space.  (Primarily for testing.)
diff --git a/dgit b/dgit
index f6c845d..909ac95 100755 (executable)
--- a/dgit
+++ b/dgit
@@ -4299,7 +4299,8 @@ sub fetchpullargs () {
        $isuite = branchsuite();
        if (!$isuite) {
            my $clogp = parsechangelog();
-           $isuite = getfield $clogp, 'Distribution';
+           my $clogsuite = getfield $clogp, 'Distribution';
+           $isuite= $clogsuite if $clogsuite ne 'UNRELEASED';
        }
     } elsif (@ARGV==1) {
        ($isuite) = @ARGV;