hgbook
annotate en/examples/daily.rename @ 579:80928ea6e7ae
Add the ability to include text files and have them XML-mangled.
author | Bryan O'Sullivan <bos@serpentine.com> |
---|---|
date | Tue Mar 17 21:47:12 2009 -0700 (2009-03-17) |
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 |