summaryrefslogtreecommitdiff
path: root/Porting
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2000-08-03 13:29:19 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2000-08-03 13:29:19 +0000
commit631c47bf5044f10b5ce4a2b023eba24f85f536e5 (patch)
tree026fb520be0e490b7ac29cc203debc52a084309c /Porting
parent66be591dab4dbc50bda55490b8e3ead9e1cdfe98 (diff)
downloadperl-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-xPorting/p4desc7
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 {