From: Ian Jackson Date: Tue, 10 Jan 2017 13:28:21 +0000 (+0000) Subject: dgit: import-dsc: Add missing call to notpushing(). X-Git-Tag: archive/debian/3.1~11 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=584d67c264bfc9d759a5fc40f04cde62d3b0ec76;p=dgit.git dgit: import-dsc: Add missing call to notpushing(). Avoids crashing with undefined $isuite. Closes:#850781. Signed-off-by: Ian Jackson --- 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};