[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: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Wed, 23 Apr 2008 08:53:18 +0200

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

jhaynes wrote:
| 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)

The time format is fixed for the $Id keyword. To get local time, use the
$Date keyword. That's explained in the svn book.

| (2) The "Exp" (stands for Experimental in CVS) is not part of
| Subversion's expansion of the $Id:$ keyword.

Subversion does not know the "Exp" feature.

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

Sorry, not possible.

Stefan

- --
~ ___
~ oo // \\ "De Chelonian Mobile"
~ (_,\/ \_/ \ TortoiseSVN
~ \ \_/_\_/> The coolest Interface to (Sub)Version Control
~ /_/ \_\ http://tortoisesvn.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (MingW32)

iEYEARECAAYFAkgO3N4ACgkQNTJADUWeLT6brQCfcChPDNg1Nge7uCMMa4A9nsxu
2YoAnRB0QMO7tRZSz3HLCJ4kbUAVRh+g
=t+Tm
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
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:53:28 CEST

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