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

Re: repair timestamps of unchanged files

From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2004-11-23 02:21:27 CET

On Mon, 2004-11-22 at 19:51, Bryan Donlan wrote:
> Right, but if the last-modified timestamps of the text-base files were
> compared to the working copy files, instead of the entires file
> timestamps being compared to the wc files, it should be possible to
> update them without taking locks. This would come at the reduction of
> normal-case performance however, as it would have to stat() or
> equivalent twice as often.

I believe I came up with this idea myself a while ago, but it has some
other downsides. A "cp -r" of a working copy could cause the mod times
of the text base and working files to become identical even though the
working file has changed, or non-identical even if it hasn't.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Nov 23 02:24:25 2004

This is an archived mail posted to the Subversion Dev mailing list.