summaryrefslogtreecommitdiff
path: root/v4l/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'v4l/scripts')
-rwxr-xr-xv4l/scripts/hg-pull-req.pl6
1 files changed, 4 insertions, 2 deletions
diff --git a/v4l/scripts/hg-pull-req.pl b/v4l/scripts/hg-pull-req.pl
index 66de967eb..09f0b513f 100755
--- a/v4l/scripts/hg-pull-req.pl
+++ b/v4l/scripts/hg-pull-req.pl
@@ -81,9 +81,11 @@ if (`hg outgoing $from_repo` !~ /^no changes found$/m ||
open IN, "hg outgoing -M $to_repo |";
while(<IN>) {
- if(/^changeset:\s+\d+:([[:xdigit:]]{12})$/) {
+ if(/^changeset:\s+\d+:([[:xdigit:]]+)$/) {
push @changesets, $1;
- } elsif(/^summary:\s+(\S.*)$/) {
+ } elsif(/^description:$/) {
+ $_ = <IN>;
+ /^(\S.*)$/;
if ($1 =~ /^merge:/) {
# Skip merge changesets
pop @changesets;