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

Re: Preserving original file timestamp

From: Ryan Schmidt <subversion-2009a_at_ryandesign.com>
Date: Tue, 17 Feb 2009 13:08:00 -0600

On Feb 17, 2009, at 08:00, Roman Goldenberg wrote:

> Is there any way in Subversion to preserve the original file timestamp
> while importing or committing?

Unfortunately no, not with standard Subversion. It stores a commit
time, but not timestamps for individual files. So if you want this
badly enough, you would have to commit each file separately, in
chronological order, and then change the svn:date property of each
revision after the fact to match each file's mtime.

> I’ve seen some discussions of this subjects during the last 2-3 years,
> and would like to know whether any changes took place recently.

There was once a text-time branch which implemented this but it has
gone stale. However the ticket for this issue includes a refreshed
patch of that branch which is only a month old that you may be able
to use:

http://subversion.tigris.org/issues/show_bug.cgi?id=1256

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1181806

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-02-18 00:27:54 CET

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.