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

Re: Svndumpfilter

From: Stefan Sperling <stsp_at_elego.de>
Date: Tue, 29 Oct 2013 15:43:55 +0100

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
Received on 2013-10-29 15:45:50 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.