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

RE: Build numbers

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2003-11-13 16:29:46 CET

On Thu, 2003-11-13 at 09:00, Tim Armes wrote:

> However, checking out and recompiling old versions isn't a very common
> occurance. I can't rely on my developers to remember that that's what they
> need to do. They'll simply checkout and recompile and the build number'll
> be wrong - they probably won't even notice.
>
So stop using the revnum as a 'label'... it doesn't mean anything.

The only 'label' here is the path itself -- the URL. The URL indicates
it's a tag. If you really want your working copy to announce the exact
place it came from, put $URL$ and $LastChangedRev$ keywords into your
file(s). There's nothing wrong with developers checking out the HEAD of
the tag, especially since the tree never changes.

Or, just use software version numbers: define constants in your code,
like 'version MAJOR.MINOR.PATCH', just like the svn project does.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Nov 13 16:31:02 2003

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

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