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

Re: mtimes at import

From: lorenz <lorenznl_at_yahoo.com>
Date: Thu, 22 Jan 2009 07:14:39 +0000

Victoria Muntean wrote:
>'svn import' ignores mtimes of files, and sets 'Last Changed Date' of
>all imported files to current time.
>In one specific import, I'd like to have ''Last Changed Date' to be set to
>file's mtime.
>Is there import option to do it,

this was discussed several times here (and/or on dev).
In short: no, but ...

> or any way to modify backward the
>''Last Changed Date' in the repo, after import.

you can change it after the fact, but svn records the commit time per
revision (not per file).
The only way to have individual "Last Changed Date" for files is to
import them one by one (or grouped by mtimes).

If your are only interested in the information and don't need the
files mtime set on checkout, you could use a user defined file

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-01-22 18:13:14 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.