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

Re: import files preserving timestamps

From: Mark Reibert <svn_at_reibert.com>
Date: Sun, 08 Jun 2008 13:52:14 -0700

On Sun, 2008-06-08 at 03:12 -0500, Ryan Schmidt wrote:
> The original file mtimes cannot be derived from the repo because the
> repo does not store them in the first place. It only stores the
> commit time. The original mtimes are permanently lost (unless you use
> a special script to do the import / commit which stores the original
> mtimes in custom file properties, and use another special script to
> check out / update / export which does the reverse and sets the
> mtimes based on those properties).

Fair enough.

By the way, what VC systems do store mtime (and not just commit time)?

> You can instruct Subversion to set mtimes of checked out / updated /
> exported files to the commit time (instead of to "now") by adding
> "use-commit-times yes" to your client's Subversion config file. But
> that doesn't help the request of this thread (and the dozens before
> it) which is to preserve the original mtime.

Yeah, I often forget about this ... due to my lack of need for it.

Mark S. Reibert, Ph.D.
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-06-08 22:52:36 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.