tests/test-empty-dir
author Thomas Arendsen Hein <thomas@intevation.de>
Fri, 15 Jul 2005 09:38:57 +0100
changeset 707 116b2d3f4554
parent 578 e33c85d2812a
child 749 7e4843b7efd2
permissions -rwxr-xr-x
Changed command synopsises to match style of common UNIX tools. -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Changed command synopsises to match style of common UNIX tools. manifest hash: cf62235e46f5c06ac5a3c88cb61e9b57d35fe222 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFC13YhW7P1GVgWeRoRAnSOAKCOtrYHZ2XMTjpphY/G2UZHcJcZeQCdFsgv D5Hu+s9ahVX8hns2ZbQpriI= =g6NW -----END PGP SIGNATURE-----

#!/bin/sh

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

true