[PATCH 0 of 2] highlight: avoid decode tracebacks
Christian Ebert
blacktrash at gmx.net
Wed Dec 19 00:29:58 UTC 2007
* Matt Mackall on Wednesday, December 12, 2007 at 16:21:40 -0600
> On Wed, Dec 12, 2007 at 10:18:25PM +0100, Christian Ebert wrote:
>> * Matt Mackall on Wednesday, December 12, 2007 at 10:58:31 -0600
>>> On Wed, Dec 12, 2007 at 03:12:00PM +0100, Christian Ebert wrote:
>>>> Possible issue:
>>>> util._encoding and hgweb.encoding /conflict/.
>>>
>>> That is ugly. We should probably set util._encoding from
>>> hgweb.encoding here.
>>
>> Ok. Do you think util._encoding must be restored afterwards?
>
> Can't see why, no.
So is there any reason why you didn't include my next attempt
(Message-Id: <1f9b54d98964063980af.1197500613 at krille.blacktrash.org>)
that uses util._encoding throughout, after setting it to
hgweb.encoding?
If one has eg:
HGENCODING=UTF-8
[web]
encoding = ascii
the patch you just included still gives a traceback.
c
--
Sich von der eigenen Ohnmacht nicht dumm machen lassen.
--Theodor W. Adorno
Eigentlich ist es doch umgekehrt.
--Frank-Patrick Steckel
More information about the Mercurial-devel
mailing list