diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-07-17 10:58:44 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-07-17 10:58:44 -0300 |
commit | 3fe2344caf39a540e5315763e4a5ca0183afbd51 (patch) | |
tree | 72450aca0df7f8f757fa113a603dd012a7f584bf | |
parent | a125274f2dd3073a55dc7c59434dd60d4438bfef (diff) | |
download | mediapointer-dvb-s2-3fe2344caf39a540e5315763e4a5ca0183afbd51.tar.gz mediapointer-dvb-s2-3fe2344caf39a540e5315763e4a5ca0183afbd51.tar.bz2 |
Don't increment if a patch were renamed
From: Mauro Carvalho Chehab <mchehab@infradead.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
-rwxr-xr-x | hgimport | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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`" |