hgbook
annotate en/examples/daily.rename @ 1041:dcf0d7d91c28
1.6.1 zh partly translated
author | Zhaoping Sun <zhaopingsun@gmail.com> |
---|---|
date | Sun Nov 08 19:56:39 2009 -0500 (2009-11-08) |
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 |