tests/test-commit-copy
author Bryan O'Sullivan <bos@serpentine.com>
Sat, 21 Jul 2007 19:07:18 -0700
changeset 4966 8d982aef0be1
parent 3853 c0b449154a90
permissions -rwxr-xr-x
addremove: print meaningful error message if --similar not numeric

#!/bin/sh

hg init dir
cd dir
echo bleh > bar
hg add bar
hg ci -m 'add bar'

hg cp bar foo
echo >> bar
hg ci -m 'cp bar foo; change bar'

hg debugrename foo
hg debugindex .hg/store/data/bar.i