[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: Christoph Hirzel <hirzel_at_indel.ch>
Date: 2005-05-24 16:01:25 CEST

But thats exactly what I want. That subversion replaces it just one time
. I could need this feature to build a changelog in the file itself.

Regards,
Christoph

Peter N. Lundblad wrote:
> 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 16:03:00 2005

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