Name

lock

Synopsis

svn lock path ...
svn lock URL

Set a lock token on a specified file to prevent other users or even the same user on another system from updating the file. Only the system with the lock token may commit changes. Locks are useful when working on binary files that cannot be merged. By default, Subversion’s locks are not strict, however. Locks can be broken or taken over by other users by using the --force option.

Alternate names: none

Changes: working copy; repository

Accesses repository: yes

Options

--encoding enc
--file file, -F file
--force
--force-log
--message text, -m text
--targets filename

Get Linux in a Nutshell, 6th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.