On Fri, Sep 23, 2016 at 6:36 AM, FEDERICO PRADES ILLANES
<federico.prades_at_bbva.com> wrote:
> Hello subversion-users,
>
> I think I found a bug in subversion, not in the issue tracker:
>
> Subversion: svn, version 1.9.4 (r1740329)
> compiled Apr 24 2016, 15:40:35 on x86-microsoft-windows
> System: Windows 7, SP1
>
> Steps to reproduce:
>
> Create a branch b1.
> Create an dummy file in b1, with svn:keywords.
> Don't use the svn:keywords on the file.
> Commit the changes to b1.
> Create a branch b2, from b1.
> Perform a switch to b2.
>
> Expected results:
>
> Dummy file modification time hasn't change
>
> Actual results
>
> Dummy file modification time has change
>
> 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.
>
> Thanks,
>
> Federico Prades Illanes - ext. (2)75682 - Software Evangelist
> Quantitative and Business Solutions (QBS) - CIB - BBVA
I didn't expect it, but I'm completely unsurprised. svn:keywords have
to rendered, and switching an upstream repository, branch, tag, etc.,
etc. can all change the WebURL, Author, Date, and other keywords. So
I'd be completely unsurprised if all files with svn:keywords get
reparsed and touched, even if no change results in the end.
Tis is one of the fragilities of keywords in all source control
systems. innocuous changes with no change in performance lead to
modifications of source files, even such innocuous changes as comment
lines.
Received on 2016-09-24 00:53:57 CEST