[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: Bob Archer <Bob.Archer_at_amsi.com>
Date: Thu, 20 May 2010 12:06:20 -0400

> On 17 Maj, 23:40, Daniel Becroft <djcbecr..._at_gmail.com> wrote:
> > >> TSVN->Settings->General->Set file dates to the "last commit time"
> >
> > > 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
>
>
> I checked this function more deeply.
> When I switched use-commit-times property on yes, files in external
> folders have commit timestamp.
>
> I confused SVN don't store "file modification time" in repository.
> It's a pity that SVN is worse than VSS in this area.
> I must accept this SVN feature.
>
> I found, this problem haved submitted 7 years ago and still it's
> unfixed :-(
> http://subversion.tigris.org/issues/show_bug.cgi?id=1256
>
> Thanks for explains

Perhaps if svn was a tool that only worked on a single OS then it would be trivial to store the file mode date. However, svn is cross platform... so to have a cross platform file system code is pretty generic.

Also, it is a open source app... so if this issue bothers you I am sure the dev's would love to discuss your approach to dealing with this that will work across all supported OSes and file systems.

I think some people have come up with a way to set the svn:date funtion so it will match the file modified date during a commit.

BOb

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2611445

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-05-20 18:04:28 CEST

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