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

Re: $Id:$ Keyword Expansion help

From: jhaynes <jdhaynes_at_gmail.com>
Date: Tue, 22 Apr 2008 14:37:47 -0700 (PDT)

Stefan,

I have read the Version Control with Subversion book, many times in
fact. My problem is not getting keyword expansion to work, it does. I
am looking for suggestions on how to change the way TSVN expands the
$Id:$ keyword. When checking out code with TSVN and using keyword
substitution, TSVN expands the $Id:$ keyword like this:

$Id: AbstractDOMParser.cpp 495 2008-04-14 18:53:18Z jhaynes $

I am looking to change this so that TSVN expands the $Id:$ keyword
like this:

$Id: AbstractDOMParser.cpp 495 2008/04/03 16:30:32 jhaynes Exp $

The difference in these two examples is:
(1) the time stamp format- (TSVN is Zulu time , not local time)
(2) The "Exp" (stands for Experimental in CVS) is not part of
Subversion's expansion of the $Id:$ keyword.

So, how do I get TSVN to expand the $Id:$ keyword so that I get the
local time and the a status of "Exp"?

On Apr 22, 11:52 am, Stefan Küng <tortoise..._at_gmail.com> wrote:
> jhaynes wrote:
> > HI Scott,
>
> > Yep, I had already done that. The expansion works but I need to know
> > how to tweak it to get what I want - local time stamp and adding an
> > equivelant to the CVS $Status:$ keyword (to expand within the $Id:$
> > keyword as CVS does).
>
> Please read the subversion book about this:http://svnbook.red-bean.com/en/1.4/svn.advanced.props.special.keyword...
>
> Stefan
>
> --
>         ___
>    oo  // \\      "De Chelonian Mobile"
>   (_,\/ \_/ \     TortoiseSVN
>     \ \_/_\_/>    The coolest Interface to (Sub)Version Control
>     /_/   \_\    http://tortoisesvn.net
>
>  signature.asc
> 1KDownload

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_tortoisesvn.tigris.org
For additional commands, e-mail: users-help_at_tortoisesvn.tigris.org
Received on 2008-04-23 08:07:37 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.