hgbook
diff en/examples/daily.files @ 798:7f684caba2d0
Minor changes and translation of code snippets for Ch.6.
author | Giulio@puck |
---|---|
date | Thu Aug 13 23:46:21 2009 +0200 (2009-08-13) |
parents | d9a1faa45c30 |
children |
line diff
1.1 --- a/en/examples/daily.files Fri Aug 31 11:36:14 2007 +0200 1.2 +++ b/en/examples/daily.files Thu Aug 13 23:46:21 2009 +0200 1.3 @@ -4,9 +4,9 @@ 1.4 1.5 hg init add-example 1.6 cd add-example 1.7 -echo a > a 1.8 +echo a > myfile.txt 1.9 hg status 1.10 -hg add a 1.11 +hg add myfile.txt 1.12 hg status 1.13 hg commit -m 'Added one file' 1.14 hg status 1.15 @@ -14,10 +14,10 @@ 1.16 #$ name: add-dir 1.17 1.18 mkdir b 1.19 -echo b > b/b 1.20 -echo c > b/c 1.21 +echo b > b/somefile.txt 1.22 +echo c > b/source.cpp 1.23 mkdir b/d 1.24 -echo d > b/d/d 1.25 +echo d > b/d/test.h 1.26 hg add b 1.27 hg commit -m 'Added all files in subdirectory' 1.28