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

Reply via email to