subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Shahaf <danie...@apache.org>
Subject Re: svn switch, touches files with svn:keywords
Date Sat, 24 Sep 2016 07:11:12 GMT
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

Mime
View raw message