tests/test-debugrename
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
Tue, 28 Aug 2007 22:48:25 -0300
changeset 5260 0fc16031bb45
parent 4637 5a088ac232e6
permissions -rwxr-xr-x
Make hg diff --git -r revA:revB detect (inverted) copies if revA > revB

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