tests/test-debugrename
author Eric Hopper <hopper@omnifarious.org>
Thu, 21 Jun 2007 10:40:09 -0700
changeset 4675 6858a7477a5e
parent 4637 5a088ac232e6
permissions -rwxr-xr-x
Change branches to sort 'active' branches first, and add an option to show only active branches.

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