[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: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2004-07-16 19:42:37 CEST

On Fri, 2004-07-16 at 11:50, Ben Reser wrote:
> 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.

We could add a new header file with just the svnversion output, include
it only in the file(s) which need it, and use a Makefile hack to only
update it when it changes.

Not sure if it's worthwhile, but it doesn't mean having to rebuild all
of svn each time you run make.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jul 16 19:43:14 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.