문제

I keep hitting the memory issues in svndumpfilter2 (someone checked in 4Gb of binaries into my subversion...) and it is just crashing on that particular commit.

svnadmin dump repo/ | python svndumpfilter2 repo/ keep/this/path > myrepo.dump

It crashes each time

So I tried svndumpfilter3, latest copy from the git repo When I looked at the latest copy of svndumpfilter3 - it is looking for an environment variable "MODULE".

I cant find this documented, and when I set it, the dump doesnt seem to work.

Has anyone got an updated guide on svndumpfilter3?

도움이 되었습니까?

해결책

Use the zerofilefix branch from https://github.com/bmwiedemann/svndumpfilter3.git - it worked for me.

The zerofilefix branch does not contain the module environment variable code. That code is a recent addition and seems to be a local environment variable for the author. I could not find any references to it in python or subversion documentation either.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top