posted in: Non classé | 0

Recently, our SVN repository break with a Malformed representation header error.

To fix it, we use dump method to save our repository without the broken commit, then reconstruct a new repository and file it using load command.

$ svnadmin dump -r 1:1000 my_repos > dumpfile.txt
// Eventually, if your breaked commit are not the last one
$ svnadmin dump --incremental -r1002:1203 my_repos >> dumpfile.txt
$ svnadmin dump --incremental -r1205:HEAD my_repos >> dumpfile.txt
$ svnadmin load my_repos2 < dumpfile.txt

original post :




Or the best in my sens : migrate to GIT

Leave a Reply

Your email address will not be published. Required fields are marked *