November 2010
Intermediate to advanced
150 pages
2h 55m
English
Subversion enables a team to collaborate on a project by sharing their files in the central repository. Everyone on the team is allowed to edit any file in their working copy, and if two people edit the same file at the same time, Subversion helps you merge the two edits later. This is effectively an optimistic locking scheme. Subversion knows that most of the time two people won’t be editing the same file, so it allows things to proceed and provides tools to fix the occasional collision when it occurs.
If you’re coming from a different version control tool, you might be used to pessimistic locking. This is a scheme where if you want to change a file, you first have to lock the file for editing. Once you are done making ...