hgbook
view en/examples/daily.files @ 47:6f37e6a7d8cd
Get Emacs to figure out what syntax highlighting to use for examples.
author | Bryan O'Sullivan <bos@serpentine.com> |
---|---|
date | Sun Jul 23 23:38:41 2006 -0700 (2006-07-23) |
parents | 7ac85766db0f |
children | 6b0f4498569e |
line source
1 #!/bin/bash
3 #$ name: add
5 hg init a
6 cd a
7 echo content > filename
8 mkdir subdir
9 echo something > subdir/otherfile
10 hg status
12 #$ name: hidden
14 mkdir empty
15 touch empty/.hidden
16 hg add empty/.hidden
17 hg commit -m 'Manage an empty-looking directory'
18 ls empty
19 cd ..
20 hg clone a b
21 ls b
22 ls b/empty