tests/test-debugrename
author Martin Geisler <mg@lazybytes.net>
Sun, 15 Aug 2010 17:42:44 +0200
changeset 11883 01e04df696e3
parent 4637 5a088ac232e6
permissions -rwxr-xr-x
test-init: replace 'echo -n' with 'printf' The '-n' argument to echo is a non-standard extension that isn't supported on Mac OS X 10.6.

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