tests/test-commit-copy
author Thomas Arendsen Hein <thomas@intevation.de>
Thu, 02 Aug 2007 14:51:49 +0200
changeset 5166 7706ff46ef45
parent 3853 c0b449154a90
permissions -rwxr-xr-x
The >| redirection does not exist in plain sh.

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