hgbook

diff es/examples/daily.rename @ 649:d13c7c706a58

Merge with http://hg.serpentine.com/mercurial/book
author Dongsheng Song <dongsheng.song@gmail.com>
date Fri Mar 20 15:40:06 2009 +0800 (2009-03-20)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/es/examples/daily.rename	Fri Mar 20 15:40:06 2009 +0800
     1.3 @@ -0,0 +1,18 @@
     1.4 +#!/bin/bash
     1.5 +
     1.6 +hg init a
     1.7 +cd a
     1.8 +echo a > a
     1.9 +hg ci -Ama
    1.10 +
    1.11 +#$ name: rename
    1.12 +
    1.13 +hg rename a b
    1.14 +
    1.15 +#$ name: status
    1.16 +
    1.17 +hg status
    1.18 +
    1.19 +#$ name: status-copy
    1.20 +
    1.21 +hg status -C