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:s...@elego.de] 
Sent: 2013, October, 29 10:44 AM
To: Somashekarappa, Anup (CWM-NR)
Cc: users@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.

Reply via email to