开发者

subversion version number question

开发者 https://www.devze.com 2022-12-21 11:17 出处:网络
I am using SVN, Visu开发者_如何学编程al Studio, and VisualSVN plugin for VS. Is it possible to set things up where each item under control, say a file, will have its own sequential version number, whi

I am using SVN, Visu开发者_如何学编程al Studio, and VisualSVN plugin for VS. Is it possible to set things up where each item under control, say a file, will have its own sequential version number, which is independent from other items under control. For example, I want foo.txt to get version numbers 1, 2, 3, 4, etc.; and I want bar.txt to get version numbers 1,2,3,4, etc. How things are workig for me currently, is that foo get "1", then if I make a change to bar and check it in next, it gets "2", see what I mean?


They aren't version numbers. They are revision numbers. It tells you at which point on the last commit did the content of the revision change. What you are asking is totally pointless. If you want to do versions, then you should create tags instead.


svn has a single global revision level, and individual items have a sparse space of versions.

You would need to do something very complex with triggers to achieve this result, which you could store on a property.

0

精彩评论

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

关注公众号