Mercurial > hgbook
view ja/examples/ch04/resolve @ 837:b775f963b18c
Clean up chapter 8, and add content
propagate 7226e5e750a6
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Tue, 15 Sep 2009 22:32:03 +0900 |
parents | de4142983445 |
children |
line wrap: on
line source
#$ name: init hg init conflict cd conflict echo first > myfile.txt hg ci -A -m first cd .. hg clone conflict left hg clone conflict right #$ name: left cd left echo left >> myfile.txt hg ci -m left #$ name: right cd ../right echo right >> myfile.txt hg ci -m right #$ name: pull cd ../conflict hg pull -u ../left hg pull -u ../right #$ name: heads hg heads #$ name: export export HGMERGE=merge #$ name: merge hg merge #$ name: cifail hg commit -m 'Attempt to commit a failed merge' #$ name: list hg resolve -l