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

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

From: Erik Huelsmann <ehuels_at_gmail.com>
Date: 2007-02-27 19:53:09 CET

> I really don't know which tools use the time and which don't. There
> probably are a few that use file modification time in some way. I know
> for sure my brain uses the file modification time. For example, if I see
> a file that was last modified in 1999, I know for sure that there aren't
> any calls to Windows Vista functions in that code. Also, I sort files on
> modification time a lot, just to see which files were recently edited.

Right, but if we solve this issue, we'll need to determine whether a
Subversion update to a file is a modification itself or not. Does an
update to the file's metadata mean an update to the file itself? It's
possible to change only metadata in a commit.

For example: when you merge a change into your - otherwise unchanged -
working copy, which modification time do you assign to the file? That
of the merge? That of the current time? Maybe the merge makes the file
identical to some other file somewhere in the repository? What do we
do then?

Well, as you can see, versioning the modification time is not as
simple as it may sound.

bye,

Erik.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Feb 27 19:53:42 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.