tests/test-debugrename
author Nicolas Dumazet <nicdumz.commits@gmail.com>
Sat, 03 Jul 2010 17:58:48 +0900
changeset 11606 326ab8727a93
parent 4637 5a088ac232e6
permissions -rwxr-xr-x
log: refactor: compute the value of last outside of filerevgen

#!/bin/sh

hg init
echo a > a
hg ci -Am t

hg mv a b
hg ci -Am t1
hg debugrename b

hg mv b a
hg ci -Am t2
hg debugrename a

echo % test with --rev
hg debugrename --rev 1 b