Login | Register
My pages Projects Community openCollabNet

Discussions > dev [DISABLED] > RE: [Issue 1256] Ability to preserve last modification time (mtime) of files under version control

subversion
Discussion topic

Back to topic list

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

Author rhuijben
Full name Bert Huijben
Date 2009-11-11 02:56:40 PST
Message > -----Original Message-----
> From: Julian Foad [mailto:julianfoad@b​topenworld.com]
> Sent: woensdag 11 november 2009 11:46
> To: Edmund Wong
> Cc: dev at subversion dot tigris dot 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.ti​gris.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

« Previous message in topic | 3 of 6 | Next message in topic »

Messages

Show all messages in topic

Re: [Issue 1256] Ability to preserve last modification time (mtime) of files under version control e_wong Edmund Wong 2009-11-11 00:54:42 PST
     Re: [Issue 1256] Ability to preserve last modification time (mtime) of files under version control julianfoad Julian Foad 2009-11-11 02:46:02 PST
         RE: [Issue 1256] Ability to preserve last modification time (mtime) of files under version control rhuijben Bert Huijben 2009-11-11 02:56:40 PST
             Re: [Issue 1256] Ability to preserve last modification time (mtime) of files under version control philip Philip Martin 2009-11-11 03:58:54 PST
         Re: [Issue 1256] Ability to preserve last modification time (mtime) of files under version control e_wong Edmund Wong 2009-11-11 17:58:38 PST
             Re: [Issue 1256] Ability to preserve last modification time (mtime) of files under version control Philipp Marek <philipp dot marek at emerion dot com> Philipp Marek <philipp dot marek at emerion dot com> 2009-11-11 23:50:30 PST
Messages per page: