Peter Klotz <peter.kl...@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

Reply via email to