tests/test-debugrename
author Steve Borho <steve@borho.org>
Fri, 07 Dec 2007 18:18:11 -0600
changeset 5624 3da5ff2a9b11
parent 4637 5a088ac232e6
permissions -rwxr-xr-x
win32: it is no longer necessary to bundle patch.exe Mercurial can use it's built-in mpatch library

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