Hi,

Eric Raymond writes:
> Ramkumar Ramachandra <artag...@gmail.com>:
> > `svnrdump (dump|load)` behaves almost exactly like `svnadmin
> > (dump|load)` over the network.
> 
> What do you mean 'over the network'? Can I get a exported stream on stdout
> from the dump mode?  Can I feed a stream on stdin to the load mode?

Yep, it does *exactly* that :)

$ svnrdump help dump
dump: usage: svnrdump dump URL [-r LOWER[:UPPER]]

Dump revisions LOWER to UPPER of repository at remote URL to stdout in a 
'dumpfile' portable format.
If only LOWER is given, dump that one revision.

$ svnrdump help load
load: usage: svnrdump load URL

Load a 'dumpfile' given on stdin to a repository at remote URL.

> > http://git.kernel.org/?p=git/git.git;a=blob;f=contrib/svn-fe/svn-fe.txt
> 
> Looks like "svnadmin dump --incremental REPO | svn-fe" the export command
> reposurgeon needs, but I'm not clear what the corresponding import 
> command would be.

Yes, that is correct. You might consider using svnrdump for local
repositories as well though- just use 'file://<path>' in place of
'<path>'; it's faster than svnadmin in some bechmarks. You can
"import" once we finish building the git fast-import stream ->
dumpfile converter :)

-- Ram

Reply via email to