view en/examples/daily.files @ 73:9604dd885616

Fix run-example script on Debian. Still works on Fedora, too.
author Bryan O'Sullivan <bos@serpentine.com>
date Wed, 30 Aug 2006 00:01:45 -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