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

Re: Loading dump file into active r/w repository

From: <petesea_at_bigfoot.com>
Date: Thu, 13 Aug 2009 11:33:39 -0700 (PDT)

On Wed, 12 Aug 2009, Larry Shatzer, Jr. wrote:

> On Wed, Aug 12, 2009 at 2:02 PM, <petesea_at_bigfoot.com> wrote:
>
>> Is it possible/advisable to load a dump file into an active r/w
>> repository?
>
> As long as you know that it will "break" date based revisions:
>
> See
> http://apache.org/dev/version-control.html#date-revisions and
> http://subversion.tigris.org/issues/show_bug.cgi?id=752

Perhaps I'm reading that 2nd link incorrectly, but it looks like loading a
dump file into an existing repository can break date based revisions
regardless if the load is done while the repository is r/w, r/o or
offline.

Here's a snippet from the bug report:

       this will affect all repositories which have received an import from
       a dumpfile (assuming the import contains commits older than HEAD,
       which invariably it does).

Soo, assuming I'm interpreting that statement correctly (and I'm not
saying I am) it doesn't matter if I leave the repository r/w, change it to
r/o or take it offline, if the dump file contains commits older then the
latest revision in the repository this problem will occur.

My original question was specifically related to loading a dumpfile into
an active **R/W** repository and it sounds like this problem isn't
specific to that... the key being "loading into R/W".

Most of the time when I load a dump file into an existing repository I
take the repository offline. If I have leave it up, I change it to r/o.
I haven't (yet) come across a situation where I HAD to leave the
repository r/w while doing the load, but expect that may happen and just
wanted to know if there were any issues specific to loading into a r/w
repository.

Don't get me wrong, I wasn't aware of this particular issue and I'm very
thankful you brought it to my attention, but I want to make sure this is
NOT specific to loading into a R/W repository.

Is there a way to correct the "date based revision" problem, eg, could I
dump the ENTIRE repository, re-create it and re-load? Will the dump be
created in date order?

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-08-13 20:35:28 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.