Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Subversion dumping last `n` revisions

Tags:

svn

I'm trying to dump the last 500 revisions from an SVN repository (to reimport as new repo) using...

svnadmin dump /path/to/repos > dump.dmp -r2000:HEAD

But the dump doesn't seem to stop and the dump file is reaching 3gb in size (a full dump 1:HEAD is only 600mb)

What am I doing wrong here?!

like image 775
michael Avatar asked Apr 11 '12 13:04

michael


1 Answers

Try the following:

svnadmin dump -r2000:HEAD /path/to/repos > dump.dmp
like image 162
becnelli Avatar answered Sep 22 '22 03:09

becnelli