hgbook
annotate en/examples/daily.rename @ 814:99c201b30491
Minor changes and translation of code snippets for Ch.13.
author | Giulio@puck |
---|---|
date | Sat Aug 15 18:03:50 2009 +0200 (2009-08-15) |
parents | |
children |
rev | line source |
---|---|
bos@118 | 1 #!/bin/bash |
bos@118 | 2 |
bos@118 | 3 hg init a |
bos@118 | 4 cd a |
bos@118 | 5 echo a > a |
bos@118 | 6 hg ci -Ama |
bos@118 | 7 |
bos@118 | 8 #$ name: rename |
bos@118 | 9 |
bos@118 | 10 hg rename a b |
bos@118 | 11 |
bos@118 | 12 #$ name: status |
bos@118 | 13 |
bos@118 | 14 hg status |
bos@118 | 15 |
bos@118 | 16 #$ name: status-copy |
bos@118 | 17 |
bos@118 | 18 hg status -C |