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

Re: Re: Is there really no way to keep the file modification time intact?

From: Erik Huelsmann <ehuels_at_gmail.com>
Date: 2007-02-27 20:35:35 CET

> > Um, no. That's not 'the file', that's 'data about the file' -
> > metadata. Subversion only versions directory trees, not the
> > metadata which may be associated with directory trees.
> >
> Surly the metadata describes the data stored in the file, thus
> as subversion has not modified the contents of the file why
> is it trying to mislead us that it has?

It's not suggesting it. It doesn't version it. Nor do the Subversion
developers believe the modified timestamp has any other value than
'being a heuristic to determine whether a file has locally
changed'[1]: the information is too fragile to be of any other value -
as others have stated, many tools change it or maybe don't maintain it
on copy or move.



[1] This heuristic is nothing more than: see if the mtime changed. If
it did, do additional checks. If it didn't, then the file probably
didn't change. (See the recent thread about 'recode' setting mtimes
back to what they were.)

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Feb 27 20:36:22 2007

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.