tests/test-debugrename
author Brendan Cully <brendan@kublai.com>
Sat, 18 Oct 2008 13:22:29 -0700
changeset 7142 88f1b8081f1c
parent 4637 5a088ac232e6
permissions -rwxr-xr-x
Prevent import over an applied patch (closes issue795)

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