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

Re: Subversion Problem - How to save file modify time?

From: Oliver Betz <list_ob_at_gmx.net>
Date: Mon, 14 Jul 2008 11:49:13 +0200

"Ben Collins-Sussman" wrote:

[...]

>I think you're right: even if Subversion doesn't make any use of the
>file's original mod-time, it could at least be saved in a property so
>the information isn't lost completely.

I'm glad to see that you also support this idea.

[...]

>Yes, that's exactly what it expands to. The philosophy is that once
>objects become version controlled, the only "true" timestamps which
>matter are the ones the repository, since the repository is tracking
>all changes. Working copies are but shadows on the wall, which can
>optionally be made to reflect repository timestamps.

This philosophy is perfectly well suited for "code" in most cases (and
I share your guess that SVN is mostly used for "code").

But in many other cases, mtime is a _very valuable_ information and
shall be conserved. Photographs and DLLs are both examples where the
file creation occurs far from commit and therefore commit time isn't a
viable alternative.

I also see that there are pitfalls, and I hope that the subversion
developers find a stable and useful solution.

BTW: I also wondered why there is "active resistance" against
preserving mtime.

Oliver

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-07-14 11:50:00 CEST

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.