diff options
author | Trent Piepho <xyzzy@speakeasy.org> | 2009-01-12 09:09:08 -0800 |
---|---|---|
committer | Trent Piepho <xyzzy@speakeasy.org> | 2009-01-12 09:09:08 -0800 |
commit | f0d64aedf578588f9671748feabd4ea84f23f29b (patch) | |
tree | e6b72fc7dfb1faca36793314f358637094c9cfc5 | |
parent | f098324eab09cb7cbc80bc5c771949e87eae8f08 (diff) | |
download | mediapointer-dvb-s2-f0d64aedf578588f9671748feabd4ea84f23f29b.tar.gz mediapointer-dvb-s2-f0d64aedf578588f9671748feabd4ea84f23f29b.tar.bz2 |
scripts: Fix pull request script
From: Trent Piepho <xyzzy@speakeasy.org>
Changeset 9220:ae5f57c85068 from Tobias Lorenz <tobias.lorenz@gmx.net>,
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 <xyzzy@speakeasy.org>
CC: Tobias Lorenz <tobias.lorenz@gmx.net>
-rwxr-xr-x | v4l/scripts/hg-pull-req.pl | 6 |
1 files changed, 2 insertions, 4 deletions
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(<IN>) { - if(/^changeset:\s+\d+:([[:xdigit:]]+)$/) { + if(/^changeset:\s+\d+:([[:xdigit:]]{12})$/) { push @changesets, $1; - } elsif(/^description:$/) { - $_ = <IN>; - /^(\S.*)$/; + } elsif(/^summary:\s+(\S.*)$/) { if ($1 =~ /^merge:/) { # Skip merge changesets pop @changesets; |