tests/test-empty-dir
author Eric Hopper <hopper@omnifarious.org>
Mon, 06 Mar 2006 08:47:16 -0800
changeset 1929 85daa4e03b4c
parent 1926 ba198d17eea9
child 1933 7544700fd931
permissions -rwxr-xr-x
Merging with crew.

#!/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 2>/dev/null || echo "sub/b not present"
ls sub 2>/dev/null || echo "sub not present"

true