You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by John Adams <jx...@ualr.edu> on 2015/07/01 18:15:08 UTC

A problem getting two repos to export at once

Hi, folks,

     I think that's my problem. Let me explain:

     I've been asked to migrate some repositories. One that's giving me
trouble is set up like this:

top_repository/
     repo_to_move
     stuff_used_in_repo_to_move

     I cannot convince svndumpfilter to export both into a single dump. It
seems like a simple task and one which folks must have to do a lot, but I
haven't figured out how to do it. I've researched and haven't found the
solution, probably because I don't know enough about subversion to pick the
right search terms.

     And thus I turn to y'all. Any thoughts?

Thanks,

     John A

Re: A problem getting two repos to export at once

Posted by John Adams <jx...@ualr.edu>.
Hi, Thorsten Schöning and other readers,

     That worked like a charm (though it turned out there was a third
directory hiding in there), up to a point. I think I have a new problem now:

------- Committed new rev 1264 (loaded from original rev 1261) >>>

<<< Started new transaction, based on original revision 1262
svnadmin: E160013: File not found: transaction '1264-z4', path
'/trunk/0/admin.php'
     * adding path : trunk/0/admin.php ...[/data/tmp]# echo $?
1

     As you can see, this path add failed, and I don't know why. There is a
trunk available at the top level, which I created before trying to load
this. I don't see why the transaction won't proceed.

Thanks,

     John A

On Thu, Jul 2, 2015 at 9:48 AM, Thorsten Schöning <ts...@am-soft.de>
wrote:

> Guten Tag John Adams,
> am Mittwoch, 1. Juli 2015 um 18:15 schrieben Sie:
>
> > top_repository/
> >      repo_to_move
> >      stuff_used_in_repo_to_move
>
> This means you have only one true SVN repo, named top_repository and
> the other things you mention are only dirs in that repo?
>
> >      I cannot convince svndumpfilter to export both into a single
> > dump.
>
> Looks to me like svndumpfilter include is what you want, with boths
> dirs mentioned as PATH_PREFIX.
>
>
> Mit freundlichen Grüßen,
>
> Thorsten Schöning
>
> --
> Thorsten Schöning       E-Mail: Thorsten.Schoening@AM-SoFT.de
> AM-SoFT IT-Systeme      http://www.AM-SoFT.de/
>
> Telefon...........05151-  9468- 55
> Fax...............05151-  9468- 88
> Mobil..............0178-8 9468- 04
>
> AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln
> AG Hannover HRB 207 694 - Geschäftsführer: Andreas Muchow
>
>

Re: A problem getting two repos to export at once

Posted by Thorsten Schöning <ts...@am-soft.de>.
Guten Tag John Adams,
am Mittwoch, 1. Juli 2015 um 18:15 schrieben Sie:

> top_repository/
>      repo_to_move
>      stuff_used_in_repo_to_move

This means you have only one true SVN repo, named top_repository and
the other things you mention are only dirs in that repo?

>      I cannot convince svndumpfilter to export both into a single
> dump.

Looks to me like svndumpfilter include is what you want, with boths
dirs mentioned as PATH_PREFIX.


Mit freundlichen Grüßen,

Thorsten Schöning

-- 
Thorsten Schöning       E-Mail: Thorsten.Schoening@AM-SoFT.de
AM-SoFT IT-Systeme      http://www.AM-SoFT.de/

Telefon...........05151-  9468- 55
Fax...............05151-  9468- 88
Mobil..............0178-8 9468- 04

AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln
AG Hannover HRB 207 694 - Geschäftsführer: Andreas Muchow