tests/test-empty-dir
author FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
Sun, 28 Jun 2009 22:24:33 +0900
changeset 8972 5edd998e8d55
parent 3469 33b6c8193652
child 12156 4c94b6d0fb1c
permissions -rwxr-xr-x
i18n-jp: translation update for 288ba6d6c5c7 this revision consists of contribution by: Muraoka Yusuke<yusuke.muraoka@gmail.com> Tadashi Jokagi <elf@elf.no-ip.org> UENISHI Kota <kuenishi@gmail.com> Yuki KODAMA <endflow.net@gmail.com> FUJIWARA Katsunori <foozy@lares.dti.ne.jp>

#!/bin/sh

hg init
echo 123 > a
hg add a
hg commit -m "first" -d "1000000 0" a
mkdir sub
echo 321 > sub/b
hg add sub/b
hg commit -m "second" -d "1000000 0" sub/b
cat sub/b
hg co 0
cat sub/b 2>/dev/null || echo "sub/b not present"
test -d sub || echo "sub not present"

true