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

Svnadmin dump part of repository?

From: George Flaherty <George.Flaherty_at_sas.com>
Date: 2005-11-29 20:04:58 CET

I have a repository that has many project directories such as
E:/svnpub

/projects
        /proj1/branches
        /proj1/tags
        /proj1/trunk

        /projX/branches
        /projX/tags
        /projX/trunk

I would like to migrate just a few projects from this existing repository into a new repository on a different machine. Is there a way to perform an svndump on just a directory within a repository? If it makes any difference, my existing repository is based on the BerkeleyDB and I am migrating to a FSFS based repository.

I tried the following:

 cat DumpFileOfEntireRepository.dump | svnfilter include projects/proj1 > prj1-dump.dump

*On a side note, my first 2 revisions (-r1:2) of "DumpFileOfEntireRepository" were corrupted for whatever reason, so this dump file is only from r3:531

When I try to load the "prj1-dump.dump" file I get the following
<<< Started new transaction, based on original revision 3
        *adding path: project/MATS ...svnadmin: File already exists: filesystem 'C:/usr/svngrp/db' transaction '1-3', path 'projects/MATS'

*Please assume proj1 == MATS

thanks
George

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Nov 29 20:14:15 2005

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.