Beispiel für Konflikte

Jemand anderes hat das File hello.c schon geändert:

mickey:/var/tmp/ldd/hello2$ cvs commit
cvs commit: Up-to-date check failed for `hello.c'
cvs [commit aborted]: correct above errors first!

Wir müssen cvs update aufrufen:


RCS file: /home/richard/Texte/LDD/lddcvs/hello/hello.c,v
retrieving revision 1.3
retrieving revision 1.4
Merging differences between 1.3 and 1.4 into hello.c
rcsmerge: warning: conflicts during merge
cvs update: conflicts found in hello.c
C hello.c

Aus den drei Sourcefiles hello.c vor der Änderung, unserem hello.c und dem fremden hello.c macht cvs nun dieses. Nach der manuellen Behebung der Konflikte muß erneut cvs commit ausgeführt werden.