subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Philip Martin <philip.mar...@wandisco.com>
Subject Re: Timestamp issue with "svn status" in 1.9.3
Date Fri, 04 Mar 2016 15:27:40 GMT
Peter Klotz <Peter.Klotz@ith-icoserve.com> writes:

> When changing the timestamp of a file to an earlier point in time and
> leaving the file size unchanged yet altering the content, Subversion
> is not always able to detect this change.

Not any earlier time, but only the exact earlier time at which
Subversion wrote an unchanged file.  Without this optimisation
large working copies would be extremely slow.

$ svnadmin create repo
$ svnmucc -mm -U file://`pwd`/repo put <(echo xx) f
$ svn co file://`pwd`/repo wc
$ stat wc/f | grep Modify
Modify: 2016-03-04 15:15:25.927354821 +0000
$ echo zz > wc/f
$ svn st wc           # timestamp younger so modification detected
M       wc/f
$ touch -d '2016-03-04 15:15' wc/f
$ svn st wc           # timestamp older so modification detected
M       wc/f
$ touch -d '2016-03-04 15:15:25.927354821' wc/f
$ svn st wc           # timestamp equal so modification not detected
$ 


-- 
Philip Martin
WANdisco

Mime
View raw message