tests/test-debugrename
author Dirkjan Ochtman <dirkjan@ochtman.nl>
Sat, 06 Feb 2010 19:38:39 +0100
changeset 10350 fd511e9eeea6
parent 4637 5a088ac232e6
permissions -rwxr-xr-x
commands: do all branch heads by default, demote topological to -t/--topo

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