You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by George Flaherty <Ge...@sas.com> on 2005/11/29 19:04:58 UTC

Svnadmin dump part of repository?

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