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

Re: Proposal for $Revision$ keyword amendment

From: Vincent Lefevre <vincent+svn_at_vinc17.org>
Date: 2005-09-29 14:17:16 CEST

On 2005-09-29 13:39:56 +0200, Ph. Marek wrote:
> I'd suggest using in your Makefile
> SOURCEREV := $(shell svnversion .)

This won't work, as svnversion gives the base revision, not the
one of the latest commit. Perhaps something like:

  svnversion -c . | sed 's/.*://'

under Unix.

-- 
Vincent Lefèvre <vincent_at_vinc17.org> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / SPACES project at LORIA
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Sep 29 14:35:22 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.