11.07.2015 Views

Version Control with Subversion - Login

Version Control with Subversion - Login

Version Control with Subversion - Login

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Subversion</strong> Complete ReferenceNamesvn lock — Lock working copy paths or URLs in the repository so that no other user cancommit changes to them.Synopsissvn lock TARGET...DescriptionLock each TARGET. If any TARGET is already locked by another user, print a warning andcontinue locking the rest of the TARGETs. Use --force to steal a lock from another useror working copy.Alternate namesChangesNoneWorking copy, repositoryAccesses repositoryOptionsYes--encoding ENC--file (-F) FILE--force--force-log--message (-m) TEXT--targets FILENAMEExamplesLock two files in your working copy:$ svn lock tree.jpg house.jpg'tree.jpg' locked by user 'harry'.'house.jpg' locked by user 'harry'.Lock a file in your working copy that is currently locked by another user:$ svn lock tree.jpgsvn: warning: Path '/tree.jpg is already locked by user 'sally in \filesystem '/var/svn/repos/db'$ svn lock --force tree.jpg'tree.jpg' locked by user 'harry'.Lock a file <strong>with</strong>out a working copy:$ svn lock http://svn.red-bean.com/repos/test/tree.jpg259

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!