开发者

Is there a way to get subversion to add files to a default changelist?

开发者 https://www.devze.com 2023-01-15 06:05 出处:网络
I\'d like to be able to tell svn to automatically add new files to a default changelist, mostly as a workaround to svn\'s lack of a \"no changelist\" filter. Is there an official way of doing this? I

I'd like to be able to tell svn to automatically add new files to a default changelist, mostly as a workaround to svn's lack of a "no changelist" filter. Is there an official way of doing this? I can write a little script to do it, but if there's a way to do it that will integrate well w开发者_如何学Pythonith the command-line client, I'd love to know about it.

If svn used properties to mark files as members of a changelist, this would be dead simple (I think). Alas, this is not the case.

I'm using 1.6.9


As svn dosnt support changesets/lists on finer granularity than the single commit I'd doubt there is any officaly "good" way to implement it. You could attempt to do it yourself by introducing some properties ...

key: myprops:changelist value: refactoringwork 20:41,150:153,337:360 jiratask1234 409:445

You would have to manage it all from the IDE-Level to the serverqueries if you want to only get certain changelists for example.

I would not attempt to do it.

0

精彩评论

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

关注公众号