[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: Victoria Muntean <vikimun_at_gmail.com>
Date: Mon, 2 Feb 2009 12:28:22 +0200

On Thu, Jan 29, 2009 at 10:10 PM, Ryan Schmidt
<subversion-2009a_at_ryandesign.com> wrote:
> On Jan 29, 2009, at 10:49, Victoria Muntean wrote:
>> On Thu, Jan 22, 2009 at 9:14 AM, lorenz <lorenznl_at_yahoo.com> wrote:
>>> 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,
>> How ? Do you mean here, by rolling the client's time backward, and
>> forcing the checkin ?
>> I want to modify that very "Last Changed Date" field.
>> Storing it as user-defined property is not too attractive.
> svn propedit --revprop -r REV svn:date URL_OR_WCPATH
> This requires that you enable revprop changes by installing a
> pre-revprop-change hook in the repository.
> And again, note that this will change the time of the revision as a while,
> thus affecting any files committed in that revision. You cannot set
> individual mtimes for individual times of a revision; Subversion simply has
> no place to store that information separately from the time of the revision.

Ah, if it's not per-file, it doesn't help me.
I'll try user-defined property.


To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-02-02 11:29:11 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.