tests/test-empty-dir
author Thomas Arendsen Hein <thomas@intevation.de>
Fri, 29 Jul 2005 21:50:05 +0100
changeset 804 19388dcbac49
parent 800 ec85f9e6f3b1
child 808 8f5637f0a0c0
permissions -rwxr-xr-x
Incorporated most of Aron Griffis suggestions for sh compatibility.

#!/bin/sh

hg init
echo 123 > a
hg add a
hg commit -m "first" -d "0 0" a
mkdir sub
echo 321 > sub/b
hg add sub/b
hg commit -m "second" -d "0 0" sub/b
cat sub/b
hg co 0
cat sub/b
ls sub

true