chiark / gitweb /
dgit: Set default dsc import distro when suppressing Dgit field.
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 13 Jan 2017 17:27:32 +0000 (17:27 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 13 Jan 2017 18:07:36 +0000 (18:07 +0000)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
debian/changelog
dgit

index 7668c10..1ff7529 100644 (file)
@@ -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 a0802eb..f4a470d 100755 (executable)
--- 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";