From f0d64aedf578588f9671748feabd4ea84f23f29b Mon Sep 17 00:00:00 2001 From: Trent Piepho Date: Mon, 12 Jan 2009 09:09:08 -0800 Subject: scripts: Fix pull request script From: Trent Piepho Changeset 9220:ae5f57c85068 from Tobias Lorenz , broke the pull request script. Given the description of the changeset in its entirety is "merges from main", and that the other (totally unrelated) change introduced has already been reverted, I can only conclude that the changeset was a mistake from someone new to Hg. Priority: normal Signed-off-by: Trent Piepho CC: Tobias Lorenz --- v4l/scripts/hg-pull-req.pl | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'v4l/scripts/hg-pull-req.pl') diff --git a/v4l/scripts/hg-pull-req.pl b/v4l/scripts/hg-pull-req.pl index 09f0b513f..66de967eb 100755 --- a/v4l/scripts/hg-pull-req.pl +++ b/v4l/scripts/hg-pull-req.pl @@ -81,11 +81,9 @@ if (`hg outgoing $from_repo` !~ /^no changes found$/m || open IN, "hg outgoing -M $to_repo |"; while() { - if(/^changeset:\s+\d+:([[:xdigit:]]+)$/) { + if(/^changeset:\s+\d+:([[:xdigit:]]{12})$/) { push @changesets, $1; - } elsif(/^description:$/) { - $_ = ; - /^(\S.*)$/; + } elsif(/^summary:\s+(\S.*)$/) { if ($1 =~ /^merge:/) { # Skip merge changesets pop @changesets; -- cgit v1.2.3