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

Re: Some questions...

From: Tony Hoyle <tmh_at_nodomain.org>
Date: 2003-07-16 20:55:11 CEST

Ben Collins-Sussman wrote:

> What? You're advocating munging the *entire* contents of a file back
> and forth? I don't understand why you want to do this.
>
What do you think lf translation does?

There really isn't any other way to do it. Unicode support is essential
in a version control system these days... certainly I couldn't do
without it... our java team would go ballistic if they couldn't merge
unicode.

> Either the contents of a file can be contextually merged, or they
> can't. *You* decide that, mark the file appopriately with svn
> metadata, and let the svn client either do it or not.

You can't just mark a unicode file as 'mergeable' and expect it to work.
  Quite apart from the NULL bytes everywhere, there are LFs in the
middle of lines, and the ones at the end need expanding to
CR/NULL/LF/NULL. Also keyword substitution needs to work with it.

If you convert to UTF8 none of the underlying code has to change... UTF8
has the nice property that you can treat it as ANSI text for the most part.

Hell, if Unicode is so controversial I'm not even going to *start* with
mergepoint processing and speculative branching.

Tony

Received on Wed Jul 16 20:56:19 2003

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.