On Fri, Jun 22, 2018 at 12:43 PM, Torsten Krah <krah...@gmail.com> wrote: > Hi, > > unfortunately trying to svnsync a repository i discovered that there is > an invalid revision in the repository having a wrong svn:mergeinfo > property, instead of > > 1280-1282 it has 1282-1280 > > "Commit rejected because mergeinfo on '/branch' is syntactically > invalid" > > The client we're using t sync is version 1.9.7. The source server is > 1.6.17. > > What's the best way to fix only those broken revision? Is there some way > to fix this property in the history? Or is there some way to fix that on > the fly? Any suggestions welcome.
I'm not sure how this would have happened (perhaps by manually editing / setting the mergeinfo property by the person who made that commit?). I don't have any experience with this kind of problem, but perhaps this tool could help you: https://github.com/jwiegley/svndumptool It has several features for manipulating / fixing svn dump files. -- Johan