Skip to Main Content
Pragmatic Guide to Subversion
book

Pragmatic Guide to Subversion

by Mike Mason
November 2010
Intermediate to advanced content levelIntermediate to advanced
150 pages
2h 55m
English
Pragmatic Bookshelf
Content preview from Pragmatic Guide to Subversion

Part 6File Locking

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 ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Reinventing the Organization for GenAI and LLMs

Reinventing the Organization for GenAI and LLMs

Ethan Mollick

Publisher Resources

ISBN: 9781680500035Errata Page