hgbook

diff en/examples/concepts @ 71:ddf533d41c09

Propagate errors correctly.
author Bryan O'Sullivan <bos@serpentine.com>
date Tue Aug 29 22:25:18 2006 -0700 (2006-08-29)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/en/examples/concepts	Tue Aug 29 22:25:18 2006 -0700
     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