lock SVN Command
How to use lock SVN (Subversion) Command in Linux / Windows?
Explanation
lock command is used to lock the files in the repository. Remember that no other user can checkin the file until it is unlocked again using the unlock command.
Usage:
svn lock <filename>
Example:
- Let us see how this cmd works.
svn lock test.txt
Output:-----------------------------------------------
'test.txt' locked by user 'svntest'.
---------------------------------------------------------
-
Use unlock command to unlock the file.
Result:
From the above cmd, the file 'test.txt' was locked in the server repository.