Mark Combellack wrote:
Hi Simon,

Have you recently changed your Subversion configuration file to enable SVN
keyword expansion? The file in question is located:

Windows          %USERPROFILE%\Application Data\Subversion\config
Linux   ~/.subversion/config

The value in question is enable-auto-props. If this is set to yes then it
will expand keywords. By default this value is set to no.

There were discussions on the dev list about this around the end of March
beginning of April. See:

    http://www.mail-archive.com/[email protected]/msg29637.html
http://www.mail-archive.com/[email protected]/msg29781.html
These discussions suggested changing the SVN config to enable keyword
expansion.

Perhaps this is the cause of the problem?

Mark

Thanks for the explanation.  If I understand this correctly, this
configuration setting will cause these keywords to expand differently
every time an update is made to the file.  This will cause problems
when applying a patch derived from an earlier checked out version
of the file to a later checked out version, if the patch happens to
include this line and if any updates have been made elsewhere in
the file between the two checkouts.

This won't occur very often, but it did happen to me today, and it
is a nuisance having to work around it by reverse engineering the
patch.

  Simon

-----Original Message-----
From: Simon Nash [mailto:[EMAIL PROTECTED]
Sent: 23 April 2008 10:16
To: tuscany-dev
Subject: SVN version keyword expansion

On April 1, I checked out a file from SVN.  Its version keywords
were not expanded in my local copy.  Yesterday I checked out the
same file and the version keywords were expanded.  This caused my
attempt to apply a patch (derived from the previous checkout)
to fail.

The file when viewed in SVN contains the header line
  * @version $Rev$ $Date$
My previous local checkout had the identical line.  My current
local checkout has the line
  * @version $Rev: 643696 $ $Date: 2008-04-02 04:24:11 +0100 (Wed, 02 Apr
2008) $

What is causing this line to now get expanded in my local checked out
copy, and why wasn't it expanded when I checked it out previously?

   Simon





Reply via email to