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 7668c10c4461dc085734d1d82c91d06e7baf4c41..1ff752949a7ef846fa2ca65bda20cdec36be715c 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 a0802eb6915a0657207e8f73545a7ff01e1deb37..f4a470d941449916b965b56113968dde52950f62 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";