开发者

How to set a property on one repository (of several)

I want to set a property (needs-lock) for one SVN repo. I'm aware that setting properties can be done using the auto-properties in the config folder of Subversion. This is not what I want, because this sett开发者_开发问答ing is global and I'd like to set the property only for one repository. How can this be done?

Regards,

Johan-Kees


You can't set a property globally for a repository, cause there does not exist a global configuration in that kind of way.

The config folder of Subversion is the configuration for your client and NOT for the Repository.

You can only set a property in particular svn:needs-lock for a particular file. But what you can is to write a script.

What you can do is to write a hook script for the particular repository to handle this locking not via a property.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜