[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Script or process to fix old invalid data in repositories or dumps?

From: Mark Phippard <markphip_at_gmail.com>
Date: Fri, 4 Apr 2014 13:30:48 -0400

Loading a dump file into a new repository, and running into this:

svnadmin: E125005: Invalid property value found in dumpstream; consider
repairing the source or using --bypass-prop-validation while loading.
svnadmin: E125005: Cannot accept non-LF line endings in 'svn:log' property

So I realize I can use that option to force the file to load, but that is
just punting the problem to the future. Has anyone ever written any
scripts that can run through an entire repository and fix these sort of
problems? In this case, maybe a script that goes through a repos and
retrieves and then sets each revprop using the current command line?

Another problem I've seen is when the data is not UTF8. I know you can use
svnsync to fix this problem by using the --source-prop-encoding ARG option.
 Are there any scripts to do this without doing an svnsync?

If not, does svnsync at least auto-fix the line-ending problem?

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/
Received on 2014-04-04 19:31:25 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.