[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-27 07:17:32 CEST

That would be even nicer, but I think not so easy to implement, because
how should subversion know, where to place the new keywords ?

Mike Dewhirst wrote:
> Christoph Hirzel wrote:
>
>> No, I wouldn't delete the expanded value, because this is part of a
>> changelog in the file itself. The next time, when I change somethig in
>> the file, I write a new keyword and my comment, e.g. like this :
>>
>> $Revision$ $Date$ $Author$
>> - my cool comment
>>
>> This would be replaced to, e.g.
>>
>> 155 2005-05-26 08:45:16 +0200 (Thu, 26 May 2005) hirzel
>> - my cool comment
>
>
> Why wouldn't you want it replaced like this ...
>
> 155 2005-05-26 08:45:16 +0200 (Thu, 26 May 2005) hirzel
> - my cool comment
> $Revision$ $Date$ $Author$
>
> ... so that next time etc etc
>
> Mike
>
>>
>> And so on ...
>>
>> Christoph Hirzel
>>
>> David Weintraub wrote:
>>
>>> On 5/26/05, Vincent Lefevre <vincent+svn@vinc17.org> wrote:
>>>
>>>> But this is not what Christoph wishes. Christoph wishes (and I wish
>>>> too) the keyword to be replaced just before the commit, so that the
>>>> replaced value is stored in the repository (not the keyword). The
>>>> goal is that the value is not changed when the file is updated.
>>>>
>>>
>>>
>>> So, let me get this straight: You want to put in a keyword when you
>>> edit a file, then have that keyword automatically expanded when it is
>>> placed in the repository. Then, the next time the checkout is done,
>>> there is no keyword -- just an expanded value.
>>>
>>> If you wanted to update the keyword again, you'd have to delete the
>>> expanded value and reenter the keyword.
>>>
>>> Is this correct?
>>>
>>> --
>>> David Weintraub
>>> qazwart@gmail.com
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
>>> For additional commands, e-mail: users-help@subversion.tigris.org
>>>
>>>
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
>> For additional commands, e-mail: users-help@subversion.tigris.org
>>
>>
>>
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri May 27 07:19:17 2005

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