view tests/test-debugrename @ 6208:c88b9e597588

tests: add --keep-tmp to run-tests.py to debug test environment When set, you can find the working dir of the test run as a uniquely named subdirectory of --tmpdir so you can inspect it.
author Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
date Wed, 05 Mar 2008 08:00:05 +0100
parents 5a088ac232e6
children
line wrap: on
line source

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