summaryrefslogtreecommitdiff
path: root/hgimport
diff options
context:
space:
mode:
Diffstat (limited to 'hgimport')
-rwxr-xr-xhgimport3
1 files changed, 3 insertions, 0 deletions
diff --git a/hgimport b/hgimport
index a424587dc..d12c84f81 100755
--- a/hgimport
+++ b/hgimport
@@ -68,6 +68,9 @@ for i in $CS; do
echo -e "\t\tNode parents $parents"
echo -e "\t\tRenamed to $newname"
mv $name $newname
+
+ # Avoids incrementing if rename happens
+ j=$((j-1))
fi
else
last="`hg log -r -1|grep changeset`"