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

Re: svn switch, touches files with svn:keywords

From: Daniel Shahaf <danielsh_at_apache.org>
Date: Sat, 24 Sep 2016 07:11:12 +0000

FEDERICO PRADES ILLANES wrote on Fri, Sep 23, 2016 at 12:36:24 +0200:
> Steps to reproduce:
>
> 1. Create a branch b1.
> 2. Create an dummy file in b1, with svn:keywords.
> 3. Don't use the svn:keywords on the file.
> 4. Commit the changes to b1.
> 5. Create a branch b2, from b1.
> 6. Perform a switch to b2.
>
> Expected results:
>
> - Dummy file modification time hasn't change
>
> Actual results
>
> - Dummy file modification time has change

I can reproduce this with current trunk and I agree it's a (minor) bug.

Minimal reproduction:

svn co -q $URL wc
cd wc
touch iota
svn add iota
svn ps -q svn:keywords Id iota
svn ci -q -mr1
svn up -q
stat iota
svn switch ^/iota iota
stat iota

> This is a problem specially with header files, in C++ projects. This bug
> wasn't present in svn 1.7.9 r1462340.
>
> Can someone else confirm, and will proceed to open the issue.

Confirmed. Thanks for the clear bug report1

Daniel
Received on 2016-09-24 09:12:32 CEST

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

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