chiark / gitweb /
fetch and pull ignore the changelog suite when it is UNRELEASED.
[dgit.git] / dgit
diff --git a/dgit b/dgit
index f6c845d967da3d2083890f9ff832f999204ac00d..909ac95f75ceaef2fd5c05a226416ce785d9d750 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;