Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

We have a debian based SVN server with version 1.1.4-2(Pretty Old), When I try to lock a file it shows as below image, Nobody is able to lock any file. Can you please guide me how to solve this issue.I also followed the below client configuration but did not worked. I have attached the error image below.

To configure locking on TortoiseSVN, right-click on any folder and select Tortoise SVN > Settings.... Click the Edit button next to "Subversion configuration file" (tbd: add screenshot). In the Miscellany section, uncomment the following line:

enable-auto-props = yes

by removing the '#' character at the beginning.In the auto-props section further down, add the line

*=svn:needs-lock

This will specify that locking be applied to all files. See other examples in the auto-props section of the configuration file if you want to apply locking to only a subset of files. [edit] Applying properties

If the above client configuration is performed before any files are added, all files will be under the locking policy. However, if there are already existing files in a repository that require locking, they must have the svn:needs-lock property applied. To add the property to all existing files using TortoiseSVN, right-click on the root folder of a repository's local working directory. Select TortoiseSVN > properties. Add the svn:needs-lock property, and apply it recursively. Click OK.

enter image description here

Is there anything that we need to add or change. Please help us.

share|improve this question
    
The server is rejecting the LOCK method - can you provide its configuration? The svn:needs-lock property has nothing to do with whether or not you're allowed to lock a file. And what do you need locking for, anyway? Merging is your friend! –  Shane Madden Jan 5 '12 at 20:29
    
Hey, Also heard that svn lock is not available in the version 1.1.4 as per this link svnforum.org/archive/index.php/t-31976.html SVN Lock is available only in 1.2 and later version :-( –  Caterpillar Jan 6 '12 at 7:48

1 Answer 1

Does this problem also occur with other svn clients, such as debian's? Does it happen with ALL files in the repository?

I have noticed the occasional issue with windows and svn where a file locally would have an uppercase character and the same file in the repository did not. It would work on the local computer but the svn server would refuse it because it's case sensitive.

Perhaps it's related to a "case mismatch" like that.

share|improve this answer
    
Hey, Also heard that svn lock is not available in the version 1.1.4 as per this link svnforum.org/archive/index.php/t-31976.html SVN Lock is available only in 1.2 and later version :-( –  Caterpillar Jan 6 '12 at 7:48

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.