Mercurial > hgbook
view ja/examples/rename.divergent @ 290:b0db5adf11c1 ja_root
fork Japanese translation.
author | Yoshiki Yazawa <yaz@cc.rim.or.jp> |
---|---|
date | Wed, 06 Feb 2008 17:43:11 +0900 |
parents | en/examples/rename.divergent@91a936be78b8 |
children | 019040fbf5f5 |
line wrap: on
line source
#!/bin/bash hg init orig cd orig echo foo > foo hg ci -A -m 'First commit' cd .. #$ name: clone hg clone orig anne hg clone orig bob #$ name: rename.anne cd anne hg mv foo bar hg ci -m 'Rename foo to bar' #$ name: rename.bob cd ../bob hg mv foo quux hg ci -m 'Rename foo to quux' #$ name: merge # See http://www.selenic.com/mercurial/bts/issue455 cd ../orig hg pull -u ../anne hg pull ../bob hg merge ls