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

Re: preserve modification dates - import to checkout?

From: Rohrschneider, Jörg <J.Rohrschneider_at_insiders-technologies.de>
Date: 2007-02-15 17:14:02 CET

 
Hi Ron,
 
The answer to B) is something that I would like to know, too...
 
The answer to A) is this:
You can't.
 
As far as I know, Subversion unfortunately cannot preserve the MODIFICATION
date,
but you can set your subversion client to use the 'last COMMIT date' as file
modification date.
 
To achieve this, set the 'use-commit-times' config entry in the
client config file.
(See Subversion Documentation, Chapter 7, Section 'Config')
 
This comes a bit closer to it, although it's not the same.
 
On dev@subversion.tigris.org <mailto:dev@subversion.tigris.org> , there are
already some discussions in progress
on this subject.
 
I guess they will implement this in one of the future releases.
 
Regards,
Jörg
 
 
 

-----Ursprüngliche Nachricht-----
Von: ron svn [mailto:ron.svn@gmail.com]
Gesendet: Donnerstag, 15. Februar 2007 16:37
An: users@subversion.tigris.org
Betreff: preserve modification dates - import to checkout?

I, newbie, have created a repository, imported a directory (including the
files it contained), and created (checkout-ed) a local copy. Cool.

But the files in the local copy have modification times corresponding to the
time of checkout and that seems odd to me.

Can someone please explain either:

A) how to tell svn to preserve the files' modification dates from import to
checkout, or
B) why I don't want to do A

I've looked for something simple like the -p option of the UNIX cp command
and can't find anything.
I get the feeling anything can be done with properties - but isn't there an
easy way to do this?

Thanks,
Ron
Received on Thu Feb 15 17:15:18 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.