summaryrefslogtreecommitdiff
path: root/Porting/genlog
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2000-11-04 21:09:28 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2000-11-04 21:09:28 +0000
commit0b3b9d72e9eb3a0c1755e8e8af95ee4c80242e0b (patch)
treea3d00bfb17c73484b81fb4eb089ad5a04e6d4f40 /Porting/genlog
parent71d4b5fdfca5c0e556b34ae5b5469878634ad76f (diff)
downloadperl-0b3b9d72e9eb3a0c1755e8e8af95ee4c80242e0b.tar.gz
More Changes tweakery.
p4raw-id: //depot/perl@7542
Diffstat (limited to 'Porting/genlog')
-rwxr-xr-xPorting/genlog4
1 files changed, 3 insertions, 1 deletions
diff --git a/Porting/genlog b/Porting/genlog
index 218da41d04..e040b9ef2c 100755
--- a/Porting/genlog
+++ b/Porting/genlog
@@ -73,6 +73,7 @@ else {
while (@desc) {
my ($change,$who,$date,$time,@log,$branch,$file,$type,%files);
my $skip = 0;
+ my $nbranch = 0;
$_ = shift @desc;
if (/^Change (\d+) by (\w+)\@.+ on (\S+) (\S+)\s*$/) {
($change, $who, $date, $time) = ($1,$2,$3,$4);
@@ -88,6 +89,7 @@ else {
last unless /^\.\.\./;
if (m{^\.\.\. //depot/(.*?perl|[^/]*)/([^#]+)#\d+ (\w+)\s*$}) {
($branch,$file,$type) = ($1,$2,$3);
+ $nbranch++;
if (exists $branch_exclude{$branch} or
@branch_include and
not exists $branch_include{$branch}) {
@@ -103,7 +105,7 @@ else {
}
}
}
- next if not $change or $skip;
+ next if not $change or $skip == $nbranch;
print "_" x 76, "\n";
printf <<EOT, $change, $who, $date, $time;
[%6s] By: %-25s on %9s %9s