Mercurial > hgbook
view en/examples/rename.divergent @ 504:779944196e2a
corrected typo in command to insert notes of translators
author | Javier Rojas <jerojasro@devnull.li> |
---|---|
date | Sat, 08 Nov 2008 23:20:00 -0500 |
parents | 91a936be78b8 |
children | 3b640272a966 |
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