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

Re: Dump a single project

From: B. Smith-Mannschott <benpsm_at_gmail.com>
Date: 2007-01-22 11:14:42 CET

On Jan 22, 2007, at 11:08, Giulio Troccoli wrote:

> I am in need of moving a specific project in my repository to a new
> dedicated repository. The project has grown enough to deserve its
> own repository

[snip]

> On the other hand svnadmin dump seems to work only on the whole
> repository, which is not what I want.
>
> So, is there a way to dump a part of a repository, dumping the log
> messages as well, so that I can then use svnadmin load?
>
>

Have a look at svndumpfilter, which is included with svn.

$ svndumpfilter help include
include: Filter out nodes without given prefixes from dumpstream.
usage: svndumpfilter include PATH_PREFIX...

Valid options:
   --drop-empty-revs : Remove revisions emptied by filtering.
   --renumber-revs : Renumber revisions left after filtering.
   --preserve-revprops : Don't filter revision properties.
   --quiet : Do not display filtering statistics.

// ben

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Jan 22 11:15:16 2007

This is an archived mail posted to the Subversion Users mailing list.