| 9 | | || ---- || ------------------------------------------------------------ || ----------------------------------------------------------- || |
| 10 | | || 1 || In the SVNtutorial folder use a text editor to create a new file named ''song`XXYY`.txt'' where ` XX ` is the first developer's initials and ` YY ` is the second developer's initials. Copy and paste these four lines into the file: [[BR]][[BR]]`Row, row, row your boat, Gently down the stream,Merrily, merrily, merrily, merrily,Life is but a dream. `[[BR]][[BR]]Save the file. || || |
| | 9 | || || || || |
| | 10 | || 1 || In the SVNtutorial folder use a text editor to create a new file named ''song`XXYY`.txt'' where ` XX ` is the first developer's initials and ` YY ` is the second developer's initials. Copy and paste these four lines into the file: [[BR]][[BR]]`Row, row, row your boat,`[[BR]]`Gently down the stream,`[[BR]]`Merrily, merrily, merrily,merrily,`[[BR]]`Life is but a dream.`[[BR]][[BR]]Save the file. || || |
| 23 | | || 14 || Issue the subversion update command. The status says "conflicted" because both changes are to the same line of the file. || || |
| 24 | | || 15 || If you try to commit the file now, you get an error: `'song.txt' remains in conflict` || || |
| 25 | | || 16 || Edit the file and observe where SVN has flagged the conflict.` Row, row, row your raft, <<<<<<< .mine Swiftly down the stream, ======= Gently down the river, >>>>>>> .r9 Merrily, merrily, merrily, merrily, Life is but a dream.` Modify the file, retaining BOTH "Swiftly" and "river" in line 2. Remove the other comments. Save the file. Right-click on the song file and choose "resolve conflicts". Right-click on the song file and choose "Update". Right-click on the song file and choose "Commit". Enter an appropriate log message. || || |
| | 23 | || 14 || Issue the subversion update command. The status indicates "conflicted" because both changes are to the same line of the file. || || |
| | 24 | || 15 || Discuss with your partner which version should be retained. Resolve the conflict using your subversion client (specific details vary). || |
| | 25 | || 16 || Repeat the update. (It should succeed this time). Commit the file with an appropriate log message. || || |