The svn lock command locks working copy a path or an Url in the repository so that no other user can commit changes to them.
If any files are already locked by another user, print a warning and continue locking the rest of files. Use the option "--force" to steal a lock from another user or working copy.
The synopsis is:
If any files are already locked by another user, print a warning and continue locking the rest of files. Use the option "--force" to steal a lock from another user or working copy.
The synopsis is:
svn lock <path>
Examples:
1) lock the files in working copy svn lock file1.txt file2.txt fileN.txt
svn lock --force file1.txt
svn lock https://svnrepo/svn/myproject/trunk/file3.txt
No comments:
Post a Comment