subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bert Huijben" <>
Subject RE: Can't dump a subtree using svnrdump
Date Sun, 30 Aug 2015 18:59:50 GMT

> -----Original Message-----
> From: Thorsten Schöning []
> Sent: zondag 30 augustus 2015 20:30
> To:
> Subject: Can't dump a subtree using svnrdump
> Hi all,
> I would like to dump one or maybe two subtrees of the ASF repo and
> whatever I feed to svnrdump I always get the contents of unrelated
> subtrees as well. If I don't provide a revision range I get thew
> complete repo, if I provide a range where my subtrees have changed, I
> get all the revisions of unrelated subtrees in between as well. In the
> documentation and such I can read that svnrdump does support subtrees,
> so there must be something wrong ho I call it.
> What I want is the following URL:
> >
> Which was originally added as the following:
> >
> What I've tried so far:
> > svnrdump.exe dump
> > svnrdump.exe dump
> > svnrdump.exe dump -r
> 307452:1554780
> > svnrdump.exe dump -r
> 1554780:HEAD
> But all of those always dump revisions not related to my subtrees.
> What am I doing wrong? Thanks!

I don't think you are doing anything wrong. 
Any revision in a repository applies to each path that exists at that revision and the only
way to ensure a 100% compatible dump with matching revision numbers is to produce empty revisions
for revisions that don't have relevant paths.

So yes, you will see many more revisions than just your own project... but if filtered correctly
not the changes in those revisions.

Once you have dumps you can use tools like 'svndumpfilter' to filter out dummy/stub revisions,
fixing things like copies and merges.

I just used this to import the Serf repository into,
while filtering a thousand stub revisions.


View raw message