[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: Bert Huijben <rhuijben_at_sharpsvn.net>
Date: Wed, 11 Nov 2009 11:56:38 +0100

> -----Original Message-----
> From: Julian Foad [mailto:julianfoad_at_btopenworld.com]
> Sent: woensdag 11 november 2009 11:46
> To: Edmund Wong
> Cc: dev_at_subversion.tigris.org
> Subject: Re: [Issue 1256] Ability to preserve last modification time
> (mtime) of files under version control
>
> 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:
>
>
> [[[
>
> OUTLINE OF A
>
> FUNCTIONAL (BEHAVIOURAL) SPECIFICATION FOR
>
> MTIME PRESERVATION (ISSUE #1256)
>
>
> * High-level semantics we are trying to achieve:
>
> - Whenever Subversion puts or modifies a file (or directory?) in
> the
> WC, it shall set the node's mtime in the WC to the mtime recorded for
> that node. (?)
>
> - Whenever Subversion modifies a file (or directory?) in the WC,
> and
> there are local changes to that node, such as when updating a file that
> the user has been editing, it shall ... (?)
>
> - What level of control over the behaviour should the users have?
> Per client? Per node? Per action (export vs. checkout vs. update,
> etc.)?
>
> - Backward compatibility issues: ...
>
>
> * Specification of the behaviour in all the cases:
>
> Data Storage:
>
> Mtime shall be stored in a versioned property named 'svn:mtime'
> (?).
> Any file or directory (?) may have this property. The format of the
> property value is (?) and is the time in UTC (?)
>
> Behaviour of Each Action:
>
> The behaviour of each svn action that may affect a node in the WC
> is, for a file 'foo' with mtime 'M(foo)' and recorded 'svn:mtime'
> property value 'R(foo)', and a directory 'dir' with 'M(dir)' and
> 'R(dir)' respectively:
>
> - add
> ...
>
> - import
> ...
>
> - commit
> ...
>
> - export
> ...
>
> - checkout
> ...
>
> - update/switch that brings in a change
> ...
>
> - update/switch that brings in NO change
> ...
>
> - ...

Let me add

- merge
  ...

        Bert

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2416490
Received on 2009-11-11 11:56:50 CET

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