hgbook

view en/examples/concepts @ 69:e9dd634ab99e

hg_id is a one-liner. Pipe to head is superfluous
author Guy Brand <gb@isis.u-strasbg.fr>
date Tue Aug 08 20:41:37 2006 +0200 (2006-08-08)
parents
children
line source
1 #$ name: dirlist
2 hg init newrepo
3 cd newrepo
5 find .
7 #$ name:
8 echo "a line of text" > foo
9 echo "another life of text" > bar
10 hg commit -A -m "Some files"
12 #$ name: dirlist2
13 find .
15 #$ name:
16 cd ..
18 #$ name: hginit
19 hg init reponame