summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xhgimport6
-rwxr-xr-xv4l/scripts/hg-pull-req.pl6
2 files changed, 7 insertions, 5 deletions
diff --git a/hgimport b/hgimport
index d12c84f81..75cc4ae97 100755
--- a/hgimport
+++ b/hgimport
@@ -104,6 +104,6 @@ done
# To cherry pick all files, you can do something like:
-#for i in $TMP/newpatches/*; do
-# hg import $i;
-#done
+for i in $TMP/newpatches/*; do
+ hg import $i;
+done
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;