How to clone/copy SVN repository to another computer

Since I’m not running SVN on server, instead, I created SVN repository on local machines, So I have to find way to access my repository remotely from other machines. Here is a simple way to access my repository from other machines, but not directly remote to my repository:

1
2
alias svnexport='sudo svnadmin dump $SVNREPO > "$SHARE/dumpfile"'
alias svnimport='sudo rm -r $SVNREPO; svnadmin create $SVNREPO; svnadmin load $SVNREPO < "$SHARE/dumpfile"'
1
$ svnexport
1
$ svnimport

Done.

Reference:
Migrating a Subversion repository from one machine to another