diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2000-08-03 13:29:19 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2000-08-03 13:29:19 +0000 |
commit | 631c47bf5044f10b5ce4a2b023eba24f85f536e5 (patch) | |
tree | 026fb520be0e490b7ac29cc203debc52a084309c /Porting | |
parent | 66be591dab4dbc50bda55490b8e3ead9e1cdfe98 (diff) | |
download | perl-631c47bf5044f10b5ce4a2b023eba24f85f536e5.tar.gz |
Be more informative on what is skipped and why,
also repeat the list at the end.
p4raw-id: //depot/perl@6504
Diffstat (limited to 'Porting')
-rwxr-xr-x | Porting/p4desc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Porting/p4desc b/Porting/p4desc index cdbd9572e1..2d1c9d8219 100755 --- a/Porting/p4desc +++ b/Porting/p4desc @@ -85,7 +85,8 @@ if ($cur) { warn "$newfile add, revision != 1!\n" unless $newfile =~ /#1$/; } } else { - $_ = "# Skipped: $_"; + push @skipped, "# $_"; + $_ = ''; } } warn "file [$file] line [$cur] file# [$fnum]\n" if $v; @@ -93,6 +94,7 @@ if ($cur) { if (m|^==== //depot/|) { $skip = !m|$branches|; + print "# Skipped because not under branches: $branches\n" if $skip; } $_ = "# $_" if $skip; @@ -108,6 +110,9 @@ if (/^Change (\d+) by/) { if (eof) { $_ .= newfiles(); + $_ .= join('', "\n", + "# Skipped because not under branches: $branches\n", + @skipped, "\n") if @skipped; } sub newfiles { |