Can dump file version be specified with svnrdump?

1.2k Views Asked by At

I need to create a dump file of a network repository. I'd like to do this using the network friendly svn tool, svnrdump as opposed to the regular svndump. However, I also need to use the svndumpfilter tool as there is much in this repo which I do not require (many projects share this repo, and I only wish to dump one project).

I encountered the following error when trying to use svndumpfilter - E140001: Unsupported dumpfile version: 3. According to this article, this is due to svnradmin using a newer version of the svn dump file format than svndumpfilter can handle.

My question is, can the required dump file format version be specified when using svnrdump so that I can use svndumpfilter?

1

There are 1 best solutions below

2
Peter Parker On

You could recreate a repository out of your svnrdump-created dump, dump it again with svnadmin dump command and use *svndumpfilter on this new dumpfile

Could take a while if your repo is quite large..