tests/test-debugrename
author Brendan Cully <brendan@kublai.com>
Thu, 26 Jul 2007 10:42:44 -0700
changeset 4998 b6c3abdbe0eb
parent 4637 5a088ac232e6
permissions -rwxr-xr-x
convert: urlify svn repos if necessary. We should also try to extract the URL from an svn working directory.

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