Home ›
Locking an SVN repository (or, another reason to use Git)Locking an SVN repository (or, another reason to use Git)
Submitted by Benjamin Melançon on April 15, 2009 - 9:26am
The manual: http://svnbook.red-bean.com/en/1.2/svn.advanced.locking.html
The useful info: http://marc.info/?l=subversion-users&m=117814302607694&w=2
cd /repos/path/of/interest
find . -type f -exec svn lock '{}' ';'
And when done:
find . -type f -exec svn lock '{}' ';'
Resolution
Searched words:
svn lock directory
git-svn svn lock directory
svn recursively lock all files
Comments
thanks
svn suks
And when done: svn ci -m
And when done:
svn ci -m "Explanations of my changes"
to commit the changes or
find . -type f -exec svn unlock '{}' ';'
to discard the locks ("unlock" instead of "lock" when done).
Post new comment