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

Re: [Issue 1256] Ability to preserve last modification time (mtime) of files under version control

From: Edmund Wong <ed_at_kdtc.net>
Date: Thu, 12 Nov 2009 09:46:12 +0800

Julian Foad wrote:
> Edmund Wong wrote:
>> Edmund Wong wrote:
>>> http://subversion.tigris.org/issues/show_bug.cgi?id=1256
>>>
>> I was looking at this issue and thought I'd give it a
>> try; but, then I noticed Kristofer Henriksson had already
>> attached a patch to the issue. Is this patch supposed
>> to fix the issue?
>
> This issue first needs a functional spec, giving the information you
> would expect to find about it in a good Subversion reference manual. It
> could be based on the following outline:
>

Reading from one of the posts, I believe Philip Martin mentioned that
it makes no sense to have 'svn add' put the mtime in the properties
since it would be the job of the 'svn commit' to do that, no? That
was my initial thinking until I cam across another thought. What
happens if I 'svn add' a file but forget to commit it until a day
later? Which mtime should be used?

Btw, is mtime stored as a string, or as an apr_time_t struct?
Kristofer's patch treated it as a string.

Edmund

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2416856
Received on 2009-11-12 02:58:54 CET

This is an archived mail posted to the Subversion Dev mailing list.