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

Re: Timestamp issue with "svn status" in 1.9.3

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Fri, 04 Mar 2016 15:27:40 +0000

Peter Klotz <Peter.Klotz_at_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
Received on 2016-03-04 16:27:47 CET

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.