<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"><head><title>Conflits</title><link href="style.css" rel="stylesheet" type="text/css" /><meta content="DocBook XSL Stylesheets V1.73.2" name="generator" /><link rel="start" href="index.html" title="Guide pratique de LVM" /><link rel="up" href="ch05.html" title="Chapitre 5. Obtenir LVM" /><link rel="prev" href="ch05s08.html" title="Bidouiller le code" /><link rel="next" href="ch06.html" title="Chapitre 6. Construire les modules du noyau" /></head><body><div class="navheader"><table summary="Navigation header" width="100%"><tr><th align="center" colspan="3">Conflits</th></tr><tr><td align="left" width="20%"><a accesskey="p" href="ch05s08.html">Précédent</a> </td><th align="center" width="60%">Chapitre 5. Obtenir LVM</th><td align="right" width="20%"> <a accesskey="n" href="ch06.html">Suivant</a></td></tr></table><hr /></div><div class="sect1" lang="fr"><div class="titlepage"><div><div><h2 class="title"><a id="conflicts" />Conflits</h2></div></div></div><p> Si quelqu'un a travaillé sur les mêmes fichiers que vous, il se peut qu'il y ait des modifications conflictuelles. Vous le saurez quand vous mettrez à jour vos sources. </p><pre class="screen"> # cvs update RCS file: LVM/tools/pvcreate.c,v retrieving revision 1.5 retrieving revision 1.6 Merging differences between 1.5 and 1.6 into pvcreate.c rcsmerge: warning: conflicts during merge cvs server: conflicts found in tools/pvcreate.c C tools/pvcreate.c </pre><p> Pas de panique ! Le fichier original, tel qu'il était avant la mise à jour, est conservé avec le nom <code class="filename">.#pvcreate.c.1.5</code>. Vous pouvez toujours le récupérer si les choses se passent mal. Le fichier nommé <code class="filename">pvcreate.c</code> contient désormais les <span class="strong"><strong>deux</strong></span> versions, la vôtre et la nouvelle, des lignes conflictuelles. Il vous reste simplement à ouvrir le fichier et résoudre les conflits en effaçant la mauvaise version des lignes. </p><pre class="screen"> <<<<<<< pvcreate.c j++; ======= j--; >>>>>>> 1.6 </pre><p> N'oubliez pas de supprimer les lignes avec les symboles « <span class="quote"><</span> », « <span class="quote">=</span> » et « <span class="quote">></span> ». </p></div><div class="navfooter"><hr /><table summary="Navigation footer" width="100%"><tr><td align="left" width="40%"><a accesskey="p" href="ch05s08.html">Précédent</a> </td><td align="center" width="20%"><a accesskey="u" href="ch05.html">Niveau supérieur</a></td><td align="right" width="40%"> <a accesskey="n" href="ch06.html">Suivant</a></td></tr><tr><td valign="top" align="left" width="40%">Bidouiller le code </td><td align="center" width="20%"><a accesskey="h" href="index.html">Sommaire</a></td><td valign="top" align="right" width="40%"> Chapitre 6. Construire les modules du noyau</td></tr></table></div></body></html>