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

Re: question about svnadmin load

From: Mark K <mark_at_mitsein.net>
Date: Fri, 11 Jul 2008 21:19:26 -0500

On Fri, 11 Jul 2008 16:19:31 -0500
Ryan Schmidt <subversion-2008c_at_ryandesign.com> wrote:

>
> On Jul 11, 2008, at 13:41, Andrew Sasak wrote:
>
> > How does load behave when revisions in the dumpfile already exist in
> > the repository?
>
> If you load a dumpfile into a repository that is not empty, then the
> revisions from the dumpfile will get added to the repository after
> the revisions that are already there and revisions from your dump
> will get renumbered as necessary.
>
> > In other words if I ran the following commands:
> > svnadmin dump -r 0:2542 repo1 | svnadmin load repo2
>
> Revisions 0 thru 2545 of repo1 will be loaded into repo2. If repo2
> was empty, then repo2 will now have 2545 revisions.
>
> > svnadmin dump -r 2000:HEAD --incremental repo1 | svnadmin load repo2
>
> This will try to load revisions 2000 thru HEAD of repo1 into repo2
> again. This will fail because the change made in revision 2000 in
> repo1 already was made in repo2.
>
> > The question is because I need to maintain repository mirror that
> > must be offline.
>
> Then you should look at the tool svk.
>
> http://svk.bestpractical.com/
>
> > I'm wondering if I can overlap dump files so that I don't
> > need to keep precise track of the previously synced revision. I
> > haven't seen this topic mentioned anywhere.
>
> You can't.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
> For additional commands, e-mail: users-help_at_subversion.tigris.org
>

you can also look into using svnsync.

-- 
Mark K
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-07-12 07:27:20 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.