Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

How do you turn off Requires-Lock for every file in a SVN Repository and all future files that get added to it?

share|improve this question
    
Is this related to the "svn:needs-lock" property? There might be more here: svnbook.red-bean.com/en/1.2/svn.advanced.locking.html –  Stijn Sanders Nov 29 '09 at 20:00
add comment

1 Answer

It's off by default. You can recursively remove the property on all files in a working copy:

svn propdel svn:needs-lock --depth=infinity 

Normally new files don't get the property set automatically. It was probably configured to as an auto-prop.

See $HOME/.subversion/config (linux) or %APPDATA%/Subversion/config (Windows). Look for auto-props, to see if svn:needs-lock gets set.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.