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

Re: Replace keywords instead of expanding them

From: Peter N. Lundblad <peter_at_famlundblad.se>
Date: 2005-05-24 15:51:07 CEST

On Tue, 24 May 2005, Christoph Hirzel wrote:

> Does anybody know if it is possible to tell subversion to replace a
> keyword (e.g. $Revision$) instead of expanding it. Currently the
> following statement
>
> $Revision$
>
> is expanded to e.g.
>
> $Revision: 144 $
>
> What I would need is a replacement to just
>
> 144
>
that's not possible, since svn needs to be able to unexpand the keyword
again. Say you check out the file and the keyword was expanded to 144.
Then you edit the file and commit. How could subversion know where the 144
is that it should replace with a new revision number.

Regards,
//Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue May 24 15:43:12 2005

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