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

Re: Changing svn:date?

From: <james-tigris_at_jrv.org>
Date: 2003-08-21 00:59:57 CEST

> Date: Thu, 21 Aug 2003 00:33:37 +0200
> From: =?UTF-8?B?QnJhbmtvIMSMaWJlag==?= <brane@xbc.nu>
>
> You must be very, very careful when changing svn:date. At the moment,
> SVN assumes that commit dates increase monotonically with revision
> numbers. So, while it's possible to change svn:date, braking this
> assumption would mean that the -r{date} option would not work reliably
> any more.

OK, I guess the only way to convert an existing VCS database to SVN and
retain timestamps is to generate a DUMP file and create an entire new
repository. This isn't worth it for my application.

For now I think I'll just add a property to each revision that is the
timestamp from the source database, which will let me figure out what
to do later.

I assume this also means that great care must be taken that the system
clock on the server must never be set backwards. This is an important
restriction that the book might highlight since it's not automatic.

(I'm assuming that svn:date is normally set by the sever)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Aug 21 02:38:45 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.