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

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

From: Ryan Schmidt <subversion-2007a_at_ryandesign.com>
Date: 2007-03-03 04:34:53 CET

On Mar 2, 2007, at 18:02, John Gwinner wrote:

> If I understand correctly, if I take a file that was modified, say in
> 2003:
>
> 1/01/2003 15:54 16 test.me.txt
> or
> -rw-rw-rw- 1 user group 16 Jan 1 2003 test.me.txt
>
> Then I check it in today, the 'time' in Subversion will be 3/2/2007?

Yes, that is what will happen.

> To me that's wrong.

Subversion simply does not store a modification date/time per file/
directory. It only stores the time that you commit a revision.
Whether that's "wrong" or not is debatable. For some applications,
obviously, it hasn't been a major problem, or else it would have been
changed by now.

> I agree it should be an option.

I would like the option to store the modification date/time as well.

> There should also be an option to have the file check out with today's
> date, the modification date, or the check in date, in my opinion. I
> find all 3 useful in different scenarios.

The default is currently to check out with today's date. You can set
use-commit-times=yes to get the check in date. You cannot currently
get the original modification date/time because Subversion does not
store that information.

-- 
To reply to the mailing list, please use your mailer's Reply To All  
function
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Mar 3 04:35:20 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.