hgbook

view en/examples/ch04/resolve @ 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 3b640272a966
children
line source
1 #$ name: init
2 hg init conflict
3 cd conflict
4 echo first > myfile.txt
5 hg ci -A -m first
6 cd ..
7 hg clone conflict left
8 hg clone conflict right
10 #$ name: left
11 cd left
12 echo left >> myfile.txt
13 hg ci -m left
15 #$ name: right
16 cd ../right
17 echo right >> myfile.txt
18 hg ci -m right
20 #$ name: pull
21 cd ../conflict
22 hg pull -u ../left
23 hg pull -u ../right
25 #$ name: heads
26 hg heads
28 #$ name: export
29 export HGMERGE=false
31 #$ name: merge
32 hg merge
34 #$ name: cifail
35 hg commit -m 'Attempt to commit a failed merge'
37 #$ name: list
38 hg resolve -l