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

inconsistent new lines - repair by modifying dump?

From: Nicolai Scheer <scope_at_planetavent.de>
Date: 2007-04-25 00:05:55 CEST

Hi there!

Today I noticed that one of my repositories contains files (.php
sourcecode) with inconsistent line endings, e.g. most are CRLF (the way
it should be), but there are some single CRs in beetween. That confuses
TSVNdiff and makes it impossible to diff things. (those files have been
worked on a lot, it just never attracted attention...).

I really would like to fix that, not by only fixing the newest revision
of the files, but altogether.

Apart from the possibility to use another diff/merge tool, what do you
think about:

1. svnadmin dump the repo to a file
2. dump file uses LF, so it would be no problem to replace single CRs by
CRLFs
3. load dump file into fresh repo

Is there any error-potential?
The outcome should be the same as if the files were checked in initially
with correct line endings, or am I overlooking something?

Thanks,

Nico

Received on Wed Apr 25 00:06:20 2007

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