During SVN upgrade, the E125005 error occurs because some developers do not have line breaks when submitting comment, which is a problem with the SVN plug-in of Eclipse,
Svnadmin: E125005: Invalid property valuefound in dumpstream; consider repairing the source or using -- bypass-prop-validation while loading.
Svnadmin: E125005: Cannot accept non-LFline endings in 'svn: log' property
To fix this problem, you can reedit all comments.
To modify the history of commnet, you must configure pre-revprop-change, with the project's default pre-revprop-change.tmpl, copy to a directory, for example, the following/space/rep/allconfig/hooks/pre-revprop-change
import os import commands resps="project1, project2,project3,".split(",") for res in resps: os.system("ln -s /space/rep/allconfig/hooks/pre-revprop-change /space/rep/"+res+"/hooks/pre-revprop-change") output=commands.getoutput("svn info svn://192.168.22.19/"+res) revesion=output[output.find("Last Changed Rev:")+len("Last Changed Rev:"):output.find("\nLast Changed Date")] print revesion #sys.exit(1) for i in xrange(1,int(revesion.strip())+1): os.system("svn pget svn:log --revprop -r "+str(i)+" svn://192.168.22.9/"+res+" > svn.log") os.system("svn pset svn:log --revprop -r "+str(i)+" --file svn.log svn://192.168.22.19/"+res) import osimport commandsresps="project1, project2,project3,".split(",")for res in resps: os.system("ln -s /space/rep/allconfig/hooks/pre-revprop-change /space/rep/"+res+"/hooks/pre-revprop-change") output=commands.getoutput("svn info svn://192.168.22.19/"+res) revesion=output[output.find("Last Changed Rev:")+len("Last Changed Rev:"):output.find("\nLast Changed Date")] print revesion #sys.exit(1) for i in xrange(1,int(revesion.strip())+1): os.system("svn pget svn:log --revprop -r "+str(i)+" svn://192.168.22.9/"+res+" > svn.log") os.system("svn pset svn:log --revprop -r "+str(i)+" --file svn.log svn://192.168.22.19/"+res)
Then run the dump command again and load it.