tests/test-debugrename
author Brendan Cully <brendan@kublai.com>
Sun, 01 Jul 2007 19:23:10 -0700
changeset 4754 7c8cd400e86a
parent 4637 5a088ac232e6
permissions -rwxr-xr-x
convert: initialize source after destination, cleaning up if source is unusable

#!/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