User login

Locking an SVN repository (or, another reason to use Git)

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

The content of this field is kept private and will not be shown publicly.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.
  • You can use Markdown syntax to format and style the text. Also see Markdown Extra for tables, footnotes, and more.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img> <blockquote> <small> <h2> <h3> <h4> <h5> <h6> <sub> <sup> <p> <br> <strike> <table> <tr> <td> <thead> <th> <tbody> <tt> <output>
  • Lines and paragraphs break automatically.

More information about formatting options

By submitting this form, you accept the Mollom privacy policy.