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

Migrating old format repositories (format 4), running into bad line endings

From: Eric Johnson <eric_at_tibco.com>
Date: Mon, 22 Aug 2016 11:11:17 -0700

So I wrote myself a tool to go through all commit comments, and verify that
no "CRs" appear in the svn:log entry. If I find them, I rewrite the log
entry. That way, I can clean up existing repositories.

However, I ran into a surprise. CR characters have also snuck into the
svn:ignore property, which is *not* a revprop, and cannot be fixed by any
of the tools available.

I've seen that other people recommend editing the dump file directly, but
that makes me quite nervous, especially on an 8MB dump file. Hoping there's
a better way.

Eric.
Received on 2016-08-22 20:11:42 CEST

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

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