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

Migrating data from one repo to another: timestamps

From: Kylo Ginsberg <kylo_at_kylo.net>
Date: Wed, 16 Sep 2009 10:00:25 -0700

I'm preparing to move the bulk of repository A to repository B. I
have this scripted via svnadmin dump/svndumpfilter/svnadmin load and
it works, however I'm concerned about timestamps.

The resulting repository no longer has increasing timestamps b/c
repository A's timestamps were faithfully preserved when the revisions
were appended to repository B. We use date-based checkouts and IIRC
subversion does some variation of a binary search to translate dates
into rev #s -- if so, this would clearly be broken by this new
repository. I'm thinking about rewriting all the timestamps in the
dump log before reloading it, but a couple questions:

1) Am I correct that, absent such re-timestamping, the resultant
repository might break svn's date-based checkout feature?
2) Am I okay simply duplicating the same timestamp for all the
revisions in this log? (I would just use the timestamp of the last
revision prior to the 'svnadmin load'.)

Thanks!
Kylo

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2395649

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-09-16 19:01:17 CEST

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.