chiark / gitweb /
dgit: import-dsc: Add missing call to notpushing().
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 10 Jan 2017 13:28:21 +0000 (13:28 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 10 Jan 2017 14:06:39 +0000 (14:06 +0000)
Avoids crashing with undefined $isuite.  Closes:#850781.

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

index 8fa1f15..b0c8811 100644 (file)
@@ -1,6 +1,7 @@
 dgit (3.1~) unstable; urgency=medium
 
   Bugfixes:
+  * dgit import-dsc: Do not crash with undefined $isuite.  Closes:#850781.
   * dgit: Do not nedlessly re-fetch the rewrite map.
 
  --
diff --git a/dgit b/dgit
index d3673c2..eee1806 100755 (executable)
--- a/dgit
+++ b/dgit
@@ -6105,6 +6105,8 @@ Specify  +$specbranch to overwrite, discarding existing history
 END
        if $oldhash && !$force;
 
+    notpushing();
+
     my @dfi = dsc_files_info();
     foreach my $fi (@dfi) {
        my $f = $fi->{Filename};