view tests/test-commit-copy @ 5855:a6ccb957fd07

Solaris compatibility fixes for test-keyword: - do not use /bin/false (yields 255 instead of 1) - do not use "cd -", simply use "cd .." instead.
author Thomas Arendsen Hein <thomas@intevation.de>
date Mon, 14 Jan 2008 09:00:23 +0100
parents c0b449154a90
children
line wrap: on
line source

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