summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2008-07-17 10:34:11 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-07-17 10:34:11 -0300
commita125274f2dd3073a55dc7c59434dd60d4438bfef (patch)
tree61bf227db62bfa78278b453e262dea51821d1873
parentebc2f26b53f9e9bb733b5845734f8a58d7be5b88 (diff)
downloadmediapointer-dvb-s2-a125274f2dd3073a55dc7c59434dd60d4438bfef.tar.gz
mediapointer-dvb-s2-a125274f2dd3073a55dc7c59434dd60d4438bfef.tar.bz2
Avoid running checkpatch.pl for merge patches
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
-rwxr-xr-xhgimport4
1 files changed, 4 insertions, 0 deletions
diff --git a/hgimport b/hgimport
index 861c89b55..a424587dc 100755
--- a/hgimport
+++ b/hgimport
@@ -61,9 +61,13 @@ for i in $CS; do
if [ "$parents" == "$old_id" ]; then
echo "Ok."
else
+ newname="$TMP/hg_${TREE}_$(printf %0${#NUM}d ${j}).merge"
+
echo "Nok/Merge:"
echo -e "\t\tOld node ID: $old_id"
echo -e "\t\tNode parents $parents"
+ echo -e "\t\tRenamed to $newname"
+ mv $name $newname
fi
else
last="`hg log -r -1|grep changeset`"