On Jun 8, 2008, at 00:19, Mark Reibert wrote:
> So while SVN does not currently offer this option, the mtime can at
> least be derived from the repo. A short script, then, can export the
> files and reset the mtime as necessary. Perhaps this will not solve
> everyone's problem, but it can help in situations such as described
> above.
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).
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.
---------------------------------------------------------------------
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 10:13:20 CEST