11.07.2015 Views

Version Control with Subversion - Login

Version Control with Subversion - Login

Version Control with Subversion - Login

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Customizing Your <strong>Subversion</strong> ExperienceSHIFTSHIFTSET MINE=%7SET OLDER=%8SET YOURS=%9REM Call the merge command (change the following line to make sense forREM your merge program).%DIFF3% --older %OLDER% --mine %MINE% --yours %YOURS%REM After performing the merge, this script needs to print the contentsREM of the merged file to stdout. Do that in whatever way you see fit.REM Return an errorcode of 0 on successful merge, 1 if unresolved conflictsREM remain in the result. Any other errorcode will be treated as fatal.SummarySometimes there's a single right way to do things; sometimes there are many. <strong>Subversion</strong>'sdevelopers understand that while the majority of its exact behaviors are acceptableto most of its users, there are some corners of its functionality where such a universallypleasing approach doesn't exist. In those places, <strong>Subversion</strong> offers users the opportunity totell it how they want it to behave.In this chapter, we explored <strong>Subversion</strong>'s runtime configuration system and other mechanismsby which users can control those configurable behaviors. If you are a developer,though, the next chapter will take you one step further. It describes how you can furthercustomize your <strong>Subversion</strong> experience by writing your own software against <strong>Subversion</strong>'slibraries.205

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!