bmw0128
bmw0128

Reputation: 13698

subversion version number question

I am using SVN, Visual 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?

Upvotes: 1

Views: 104

Answers (2)

Layke
Layke

Reputation: 53156

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.

Upvotes: 2

bmargulies
bmargulies

Reputation: 100051

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.

Upvotes: 0

Related Questions