hgbook
diff 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 diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/en/examples/concepts Tue Aug 08 20:41:37 2006 +0200 1.3 @@ -0,0 +1,19 @@ 1.4 +#$ name: dirlist 1.5 +hg init newrepo 1.6 +cd newrepo 1.7 + 1.8 +find . 1.9 + 1.10 +#$ name: 1.11 +echo "a line of text" > foo 1.12 +echo "another life of text" > bar 1.13 +hg commit -A -m "Some files" 1.14 + 1.15 +#$ name: dirlist2 1.16 +find . 1.17 + 1.18 +#$ name: 1.19 +cd .. 1.20 + 1.21 +#$ name: hginit 1.22 +hg init reponame