hgbook

annotate ja/examples/rename.divergent @ 1114:527b86d55d4a

inotify: update installation information

inotify is shipped in Mercurial since 1.0, which greatly simplifies the installation process
author Nicolas Dumazet <nicdumz.commits@gmail.com>
date Sun Dec 13 16:35:56 2009 +0900 (2009-12-13)
parents
children
rev   line source
foozy@708 1 #!/bin/bash
foozy@708 2
foozy@708 3 hg init orig
foozy@708 4 cd orig
foozy@708 5 echo foo > foo
foozy@708 6 hg ci -A -m 'First commit'
foozy@708 7 cd ..
foozy@708 8
foozy@708 9 #$ name: clone
foozy@708 10
foozy@708 11 hg clone orig anne
foozy@708 12 hg clone orig bob
foozy@708 13
foozy@708 14 #$ name: rename.anne
foozy@708 15
foozy@708 16 cd anne
foozy@708 17 hg mv foo bar
foozy@708 18 hg ci -m 'Rename foo to bar'
foozy@708 19
foozy@708 20 #$ name: rename.bob
foozy@708 21
foozy@708 22 cd ../bob
foozy@708 23 hg mv foo quux
foozy@708 24 hg ci -m 'Rename foo to quux'
foozy@708 25
foozy@708 26 #$ name: merge
foozy@708 27 # See http://www.selenic.com/mercurial/bts/issue455
foozy@708 28
foozy@708 29 cd ../orig
foozy@708 30 hg pull -u ../anne
foozy@708 31 hg pull ../bob
foozy@708 32 hg merge
foozy@708 33 ls