[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Older versions through http-repository browsing

From: John Peacock <jpeacock_at_rowman.com>
Date: 2005-03-04 17:01:28 CET

Matthias Wächter wrote:

> Will the principle of Subversion, to use global integer revision numbers
> instead of local dotted ones (like in CVS) ever change?

The revision number is merely an artifact of the internal repository
state. NOTE: I do not differentiate CVS from Subversion here. It just
so happens that with CVS, as long as you never strayed from the trunk,
you could use the $Revision$ tag like it was a file version for release
purposes. When you go off onto trunks, the numbers don't increment like
you would expect them to do so (if they were actually human version
numbers). Try making two branches off the same revision and commit
changes in CVS; you'll get something that looks like 1.4.2.1 and 1.4.4.1
(if the trunk was at 1.4). Then try and perform a vendor import (and
suddenly your initial revision digit jumps to 2).

Just stop thinking that the revision numbers are significant in any way
outside of a point in time in the repository (whether you are using CVS
or SVN), and you will be happier in the long run. Version numbers are a
human-significant value and are best handled using tags (again for both
packages) to denote what point they reflect in the repository.

John

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Mar 4 17:02:35 2005

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.