From: Ian Jackson Date: Fri, 13 Jan 2017 17:27:32 +0000 (+0000) Subject: dgit: Set default dsc import distro when suppressing Dgit field. X-Git-Tag: archive/debian/3.3~23 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=commitdiff_plain;h=6f766ed1ce65cd3ece33a12cd76afbfdf412a1b6 dgit: Set default dsc import distro when suppressing Dgit field. Signed-off-by: Ian Jackson --- diff --git a/debian/changelog b/debian/changelog index 7668c10c..1ff75294 100644 --- a/debian/changelog +++ b/debian/changelog @@ -3,6 +3,7 @@ dgit (3.3~) unstable; urgency=medium Bugfixes: * dgit: Remove a leftover debugging print. * dgit: Set default dsc import distro when there is no Dgit field. + * dgit: Set default dsc import distro when suppressing Dgit field. Packaging: * Remove redundant Recommends on libtext-iconv-perl. diff --git a/dgit b/dgit index a0802eb6..f4a470d9 100755 --- a/dgit +++ b/dgit @@ -6117,6 +6117,7 @@ sub cmd_import_dsc { parse_dsc_field($dsc, "Dgit metadata in .dsc") unless forceing [qw(import-dsc-with-dgit-field)]; + parse_dsc_field_def_dsc_distro(); if (defined $dsc_hash) { progress "dgit: import-dsc of .dsc with Dgit field, using git hash";