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

RE: Svndumpfilter

From: Somashekarappa, Anup (CWM-NR) <anup.somashekarappa_at_rbc.com>
Date: Wed, 30 Oct 2013 15:52:52 +0530

Hi,

It worked for small repository but getting the below error for a big
repository.

svndumpfilter: E200003: Invalid copy source path '/Some/Path'.

The dump file is 15G

Thanks & Regards,
Anup T S

-----Original Message-----
From: Stefan Sperling [mailto:stsp_at_elego.de]
Sent: 2013, October, 29 10:44 AM
To: Somashekarappa, Anup (CWM-NR)
Cc: users_at_subversion.apache.org
Subject: Re: Svndumpfilter

On Tue, Oct 29, 2013 at 08:05:37PM +0530, Somashekarappa, Anup (CWM-NR)
wrote:
>
>
> Hi Guys,
>
> I am trying to extract one folder "B" from the repository
"Current_repo"
> and create a separate reposiotry.
>
> The followed the below steps but nothing has been loaded to the new
> repository "new_repo".
>
> * svnadmin dump /var/svn/data/Current_repo > repo.dump
> * cat repo.dump | svndumpfilter include --drop-empty-revs
> --renumber-revs http://localhost/svn/Current_repo/B > sv.dump

I think you have a usage error.

  $ svndumpfilter help include
  include: Filter out nodes without given prefixes from dumpstream.
  usage: svndumpfilter include PATH_PREFIX...
                               ^^^^^^^^^^^

What PATH_PREFIX is meant to say is that svndumpfilter expects an
in-repository path. But you gave it a URL.

Try something like:

    cat repo.dump | svndumpfilter include --drop-empty-revs
      --renumber-revs /B > sv.dump

> * svnadmin load /var/svn/data/new_repo < sv.dump
______________________________________________________________________

This email is intended only for the use of the individual(s) to whom it is addressed and may be privileged and confidential.
Unauthorised use or disclosure is prohibited. If you receive this e-mail in error, please advise immediately
and delete the original message. This message may have been altered without your or our knowledge
and the sender does not accept any liability for any errors or omissions in the message.

Emails are monitored by supervisory personnel in jurisdictions where monitoring is permitted.
Such communications are retained and may be produced to regulatory authorities or others with legal rights to the information.
Received on 2013-10-30 11:23:35 CET

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.