From: Ian Jackson Date: Sun, 23 Oct 2016 18:15:30 +0000 (+0100) Subject: .dsc and file handling: Add some debugging output X-Git-Tag: archive/debian/2.9~55 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=commitdiff_plain;h=06a2e047d5fc1eebb96c9362984534287df76987 .dsc and file handling: Add some debugging output No other change. Signed-off-by: Ian Jackson --- diff --git a/dgit b/dgit index 426aef2e..0330552e 100755 --- a/dgit +++ b/dgit @@ -1828,10 +1828,15 @@ sub generate_commits_from_dsc () { my $f = $fi->{Filename}; die "$f ?" if $f =~ m#/|^\.|\.dsc$|\.tmp$#; + printdebug "considering linking $f: "; + link_ltarget "../../../$f", $f + or ((printdebug "($!) "), 0) or $!==&ENOENT or die "$f $!"; + printdebug "linked.\n"; + complete_file_from_dsc('.', $fi) or next; @@ -2210,6 +2215,7 @@ sub complete_file_from_dsc ($$) { if (stat_exists $tf) { progress "using existing $f"; } else { + printdebug "$tf does not exist, need to fetch\n"; my $furl = $dscurl; $furl =~ s{/[^/]+$}{}; $furl .= "/$f";