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

Re: External item create file with wrong timestamp

From: Daniel Becroft <djcbecroft_at_gmail.com>
Date: Tue, 18 May 2010 07:40:43 +1000

---
Daniel Becroft
On Tue, May 18, 2010 at 12:17 AM, Mariusz Jasinski
<jasinski.mariusz_at_gmail.com> wrote:
> On 17 Maj, 14:22, Simon Large <simon.tortoise..._at_googlemail.com>
> wrote:
>>
>> TSVN->Settings->General->Set file dates to the "last commit time"
>
> I don't want "commit time". I use binary files from third parties.
> These files have old modification time, for example 2002-02-01 16:00.
> Commit time is 2010-05-11 15:44:19 (mistake in my first message).
>
> I would like to checkout files with "last modification time" (2002),
> no commit time.
> "last modification time" = last modification time on local disk,
> before commit.
As Andy has said, this information is not stored in the repository.
However, as a workaround (read: hack), you could commit the binary in
its own revision. Then, modify the revision date/time property to be
the modification time you require (note: I haven't tested this). This
will mean that that revision appears as committed, in your example,
back in 2002, so any revision searching you do based on dates will be
inaccurate.
Regards,
Daniel B.
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2610103
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-05-17 23:41:02 CEST

This is an archived mail posted to the TortoiseSVN Users mailing list.