开发者

subversion version number question

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜