[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: Klaus Rennecke <kre_at_tigris.org>
Date: 2004-07-16 20:03:54 CEST

Hmm, please don't get angry if this is a silly idea, but what's wrong with

#ifdef SVN_DEBUG
static const char* _svnid = "$Id$";
#endif

Assuming that a dev build that's to stay any longer than a few minutes
should be built statically, this would at least allow to get a definite
profile of what version of .c files was used to create the object.

ident(1) is your friend :-)

/Klaus

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jul 16 20:07:01 2004

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