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

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

From: Frans Knibbe <frans_at_geodan.nl>
Date: 2007-02-26 14:30:28 CET


I have seen the subject pass by a few times in this list: subversion
changes the file (modification) time to the commit time when you put a
file in the repository. It is not possible to override this behaviour. I
think is a fundamental problem with subversion. Whether I copy the file
to another location, or compress it in an archive, or put it in a
subversion repository, the time the file was last modified should not
change. In other words: I think subversion should not tamper with files
it stores. I want my files to come back exactly like they were when I
put them in the repository. And that includes the time of the last

Now I have found that this problem is already an offcial issue. Its
number is 1256
(http://subversion.tigris.org/issues/show_bug.cgi?id=1256). But the
issue has remained unresolved for a long time. I see it has now been
postponed to version 1.5. I do hope this bug really gets solved soon.

But I really can not wait for version 1.5. My organization is moving
from another source control system to SVN and I have to write an
importer. As it is now, it seems that all the files in the repository
will wind up with the file time set to the moment they are handled by
the importer. That means that a lot of useful and maybe vital
information will get lost.

Does anyone know of a way to put files in a subversion repository with
the file time intact?



To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Feb 26 14:36:02 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.