view en/examples/daily.files @ 70:365b41b6a15e

bash is not necessarily in /bin. Original patch against an earlier rev from Guy Brand <gb@isis.u-strasbg.fr>.
author Bryan O'Sullivan <bos@serpentine.com>
date Tue, 08 Aug 2006 14:13:28 -0700
parents 6f37e6a7d8cd
children 6b0f4498569e
line wrap: on
line source

#!/bin/bash

#$ name: add

hg init a
cd a
echo content > filename
mkdir subdir
echo something > subdir/otherfile
hg status

#$ name: hidden

mkdir empty
touch empty/.hidden
hg add empty/.hidden
hg commit -m 'Manage an empty-looking directory'
ls empty
cd ..
hg clone a b
ls b
ls b/empty