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

Re: If RCS can stand it, why can’t your system?

From: Ramkumar Ramachandra <artagnon_at_gmail.com>
Date: Tue, 30 Nov 2010 16:34:29 +0530


Eric Raymond writes:
> Ramkumar Ramachandra <artagnon_at_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
Received on 2010-11-30 12:00:58 CET

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.