How to Resolve Conflicts in Apache Subversion
Once you have finished making changes to your working copy, it is time to commit your changes back to the repository!, Usually, this is all that’s needed to commit your changes back to the repository but, if another member of your team has committed...
Step-by-Step Guide
-
Step 1: Once you have finished making changes to your working copy
Select ‘SVN Commit.’ -
Step 2: it is time to commit your changes back to the repository!
,,, You will see three new versions of the conflicted file: the file with the highest numbered extension is the repository’s most recent file; the file with the lower revision number is your local file; and ‘filename.mine’ is the file as it existed in your working copy, before you performed an update. ,,,, -
Step 3: Usually
-
Step 4: this is all that’s needed to commit your changes back to the repository but
-
Step 5: if another member of your team has committed an updated version of the file in question
-
Step 6: TortoiseSVN will warn you that your working copy is out of date.
-
Step 7: Click ‘OK’ and TortoiseSVN will ask whether you wish to run ‘SVN Update.’ Select the ‘Update’ button.
-
Step 8: Sometimes this is all that's required to resolve a conflict but
-
Step 9: if you have modified the exact same part of the exact same file as your teammate
-
Step 10: TortoiseSVN will warn that one or more of your files are in a conflicted state.
-
Step 11: To resolve the conflict
-
Step 12: open the corresponding folder in your working copy.
-
Step 13: Use the original file to manually merge the changes between the repository’s version and your local version.
-
Step 14: When you have finished
-
Step 15: delete all the duplicates.
-
Step 16: Right-click on the file and select ‘SVN Commit...’
-
Step 17: Your modified file will now successfully be committed to the repository!
Detailed Guide
Select ‘SVN Commit.’
,,, You will see three new versions of the conflicted file: the file with the highest numbered extension is the repository’s most recent file; the file with the lower revision number is your local file; and ‘filename.mine’ is the file as it existed in your working copy, before you performed an update. ,,,,
About the Author
Harold Ward
Harold Ward specializes in education and learning and has been creating helpful content for over 5 years. Harold is committed to helping readers learn new skills and improve their lives.
Rate This Guide
How helpful was this guide? Click to rate: