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 8fa1f1526a87baf011e21cb3c5dfb470a71121de..b0c88111411a5e8e62f666c542b9046e62ba80c2 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 d3673c21ad47024a7654cefa0b4d81b076eea308..eee1806c74eb484de11007fec42daed71fba4997 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};