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 : https://stackoverflow.com/questions/8841796/repair-corrupted-svn-repository#8873648
Or the best in my sens : migrate to GIT
Laisser un commentaire