X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=blobdiff_plain;f=dgit;h=4b088dbc316f0e8f2a3fa0d3a922895eadfd3457;hp=a0802eb6915a0657207e8f73545a7ff01e1deb37;hb=6516b26b1e24241f879b9bde6533d1c8a384c803;hpb=306828d91540e9ce11cafc701d7021845610d14b diff --git a/dgit b/dgit index a0802eb6..4b088dbc 100755 --- a/dgit +++ b/dgit @@ -6117,6 +6117,12 @@ 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(); + + $isuite = 'DGIT-IMPORT-DSC'; + $idistro //= $dsc_distro; + + notpushing(); if (defined $dsc_hash) { progress "dgit: import-dsc of .dsc with Dgit field, using git hash"; @@ -6154,8 +6160,6 @@ 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};