tags:

views:

34

answers:

1

I had checked out a few files from the svn repository on an old machine, and then I moved the repository to a new server. I did not do a repo dump and move, just did a tar and scp and untar of the entire repository. When I try to check in to the new server [with the same hostname and same dir structure] it says:

svn: Commit failed (details follow):
svn: Server sent unexpected return value (500 Internal Server Error) in response to MKACTIVITY request for '/repos/papers/!svn/act/a49a699c-96a7-11df-9e8f-654930a0ec4e'

+1  A: 

Whenever you move or backup a SVN Repo, you need to do a dump and then restore on the new machine. You can accomplish that by running:

svnadmin dump myrepos > dumpfile

Then move the dumpfile onto the new machine using your transport tool of choice. Once on the new server:

svnadmin load newrepos < dumpfile

On your working copy, you will need to inform your svn client that the repo has moved.

Chris Henry