Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Copy SVN Repository

I have an SVN repo at a hosted SVN service which I need to move to our locally hosted SVN service. The host offers an export feature, which I've used. But how do I take that exported file and import it into a new repository?

EDIT

I tried using svnadmin load, but got an error message:

% svnadmin load . < ~/ss2_14066_rev36
svnadmin: Malformed dumpfile header

The service I'm exporting from is http://beanstalkapp.com, and their help page for export says this exported file can be reimported to another svn server. Is this possibly a server version mismatch?

like image 640
Ian Avatar asked Jan 13 '09 23:01

Ian


People also ask

How copy folder from svn to local?

If the clipboard contains such versioned items, you can then use TortoiseSVN → Paste (note: not the standard Windows Paste) to copy or move those items to the new working copy location. You can copy files and folders from your working copy to another location in the repository using TortoiseSVN → Branch/Tag.


1 Answers

If the export was created using svnadmin dump you can import it into a new, empty repository using

# cd /path/to/new/repo
# svnadmin load . < /path/to/dumpfile
like image 127
Bombe Avatar answered Nov 04 '22 10:11

Bombe