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

Re: Bug Report: The "svn switch" command updates a files timestamp if the property svn:keywords is set

From: Stefan Sperling <stsp_at_elego.de>
Date: Wed, 16 Sep 2015 10:42:01 +0200

On Tue, Sep 15, 2015 at 06:57:43PM +0000, Wolfram, Dirk wrote:
> Hi all,
>
> I'd like to file a bug in Subversion 1.9.1 and 1.9.0, but I'm not sure if it's a deliberate behavior.
> The problem was not encountered in Subversion 1.7.6, which we used for a long time.
> I didn't find anything concerning this issue in the change log.
>
> Summary:
> --------------
> The "svn switch" command updates a file's timestamp, if the property svn:keywords is set.

I believe this is a side effect of the fix for issue #1975
"svn switch does not update keywords"
http://subversion.tigris.org/issues/show_bug.cgi?id=1975

When svn updates a keyword it has to modify the file content and
rewrite the file so the time stamp gets updated.

I would argue your expectation that a file's time stamp won't be
updated by svn switch is in direct contradiction to your use of
svn:keywords on the same file. You can't really have both.
Received on 2015-09-16 10:42:31 CEST

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