svntortoisesvnsubversion-edge

SVN auto property based on repository


We have multiple SVN repositories. A developer may be working on multiple repositories at the same time. I am aware of the auto-prop option available with SVN. If we enable this, it is adding the property on files in all the repositories whenever commit happens. Is there any way I can tell subversion to enable auto-prop only when checkin happens to a particular repository and not all the repos.

I am adding the property 'needs-lock'. There are hundreds of developers working on a particular project. It is difficult to enable the auto-prop option in all the developers machine. For the existing files, I can add the property in SVN. Is there any way I can add the property to the newly added files via hook scripts or something from server side instead of enabling auto-prop in all developer machines.


Solution

  • See the answer: https://stackoverflow.com/a/18571763/761095.

    See