[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: Philipp Marek <philipp.marek_at_emerion.com>
Date: Thu, 12 Nov 2009 08:50:28 +0100

Hello Edmund,

On Donnerstag, 12. November 2009, Edmund Wong wrote:
> 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?
My branch simply took the files' mtime on commit, and pushed that as
"svn:text-time" property string.

> Btw, is mtime stored as a string, or as an apr_time_t struct?
It's formatted like this:
The sub-seconds require an OS (and filesystem) that support that, of course.

> Kristofer's patch treated it as a string.



Received on 2009-11-12 08:50:46 CET

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