[PATCH] convert: get test-convert-darcs.t passing again with darcs 2.5.2

Matt Mackall mpm at selenic.com
Sat Oct 22 11:19:52 CDT 2011


On Thu, 2011-10-20 at 20:29 -0400, Greg Ward wrote:
> # HG changeset patch
> # User Greg Ward <greg at gerg.ca>
> # Date 1319156421 14400
> # Branch stable
> # Node ID 9c25057520aa676bc3f478c453ecec199bb0cbd6
> # Parent  1ae824142c0157f350e1e01cf3e23fbf01a1f722
> convert: get test-convert-darcs.t passing again with darcs 2.5.2

Ok, so I applied this.. and it broke with old Darcs.

Silly Darcs: it can't read its own old changelogs. So +1 for finally
implementing UTF-8 changelogs, -100 for forgetting that the primary
mission of an SCM is reading your old data. This is why Mercurial does
this:

http://www.selenic.com/hg/file/0db47b8d025f/mercurial/encoding.py#l61

(Several hours pass...)

Ok, I give up. I can't even figure out how to get the new Darcs to
display Unicode commit messages on my native UTF-8 system, despite
messing with all the DARCS_DONT_IGNORE_*[1] and locale settings. I even
spent a while looking at the source (now fully cured of any interest in
Haskell, thanks). I'm disabling these bits of the test as it's pretty
clear it's just not going to work any more.

[1] Really, we're going to be hyper-vigilant about ancient terminal
hacks but we don't see anything wrong with 'darcs setprefs test'?

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial-devel mailing list