Simultaneous SVN Dump and Load with Netcat

I started by looking at the code from here.
Then, I decided I should use netcat instead of scp. Here’s the result:


cd <repos dir>
svnadmin dump reponame | nc6 -x <NewServer> 7676

cd <repos dir>
svnadmin create reponame
nc6 -x -l -p 7676 | svnadmin load reponame

Works like a charm – it’s awesome to have 2 windows open and watch the simultaneous dump and import – how hot.


Leave a comment

1 Comments.

  1. cool :-) tnx for sharing this one