From 584d67c264bfc9d759a5fc40f04cde62d3b0ec76 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Tue, 10 Jan 2017 13:28:21 +0000 Subject: [PATCH] dgit: import-dsc: Add missing call to notpushing(). Avoids crashing with undefined $isuite. Closes:#850781. Signed-off-by: Ian Jackson --- debian/changelog | 1 + dgit | 2 ++ 2 files changed, 3 insertions(+) diff --git a/debian/changelog b/debian/changelog index 8fa1f152..b0c88111 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 d3673c21..eee1806c 100755 --- 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}; -- 2.30.2