Can I add custom properties to TortoiseSVN's list of properties in Add Properties dialog?

家住魔仙堡 提交于 2019-12-12 16:09:20

问题


Our team is using some user-defined properties on our SVN repository. When I go to add a property to a file using TortoiseSVN, I right-click on the file and choose TortoiseSVN / Properties. I then click the New... button and get the Add Properties dialog. At the top of this dialog is a drop-down list of pre-defined properties labeled Property name:. The list includes properties such as svn:needs-lock, svn:eol-style, etc.

Is there a way I can add a couple of my own custom properties to this list? I am using TortoiseSVN 1.6.2.

I've googled this, and saw a proposed patch on the TortoiseSVN mailing list, but to my knowledge it hasn't been implemented. Thanks.

Edit: I know I can manually type my custom properties into that box, but I'd like them to be saved for next time.


回答1:


You can use the properties tsvn:userfileproperties and tsvn:userdirproperties on a parent directory to customize the list of properties.



来源:https://stackoverflow.com/questions/2150800/can-i-add-custom-properties-to-tortoisesvns-list-of-properties-in-add-propertie

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!