How to preserve date with svn check-out?

How can we preserve the svn date of a file when we check it out during a build?

Is there a configuration file or command line switch?

TIA

Hi Tom

As far as I can tell svn doesn’t provide any options for this :

http://svnbook.red-bean.com/nightly/en/svn.ref.svn.c.checkout.html

I'm not familiar with svn. We use ssvn as our interface to it. And it somehow maintains the commit date of each file. I assumed that svn would handle that too.

It's very hard for me to believe that the masses of developers who use svn are stuck with the local time-date stamp of a file being changed when a copy is made to the local drive...

Hopefully, someone else here will have some additional information on this.

See this StackOverflow thread: http://stackoverflow.com/questions/...subversion

Thanks for the response, Vincent.

I'm told that adding the line

use-commit-times=yes

to the [miscellany] section of .subversion/config will set local files from a respository to their commit times.

However, there are some 3rd party svn tools that ignore this flag (like Smart SVN, for example, which provides a different way of setting this flag.)

I wanted to ask if anyone can confirm that FB will act on this flag in the config file rather than ignoring it?

TIA

Hi Tom

FB uses svn.exe, so if svn.exe supports that flag then it should work from FB.