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

Re: "svn --version" should report revision it was built from on dev (HEAD) builds

From: Ben Reser <ben_at_reser.org>
Date: 2004-07-16 17:50:27 CEST

On Fri, Jul 16, 2004 at 01:59:34PM +0100, Andy Whitcroft wrote:
> Hmm, why not include the whole output from the svnversion . in the top
> level? If they are a fool and have a mixed version then at least it will
> be obvious in the output. If they are not then it will be a useful
> version. Either way it is _obvious_ from that whether it is useful or not,
> including whether its modified for instance?

Umm you do realize mixed revisions are very very common. After every
commit you have a mixed revision working copy.

And like I said, to be accurate you'd have to regenerate svn_version.h
in every rebuild. Run make at the top level in a wc, then touch
subversion/include/svn_version.h, run make again, watch the whole thing
rebuild from scratch.

The cost of forcing an entire rebulid is simply not worth it. People
building out of working copies are likely to either know what rev
they're using or can run svnversion on their working copy to find out.

-- 
Ben Reser <ben@reser.org>
http://ben.reser.org
"Conscience is the inner voice which warns us somebody may be looking."
- H.L. Mencken
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jul 16 17:50:39 2004

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.