[PATCH 0 of 2] highlight: avoid decode tracebacks

Matt Mackall mpm at selenic.com
Tue Dec 18 21:29:34 CST 2007


On Wed, Dec 19, 2007 at 01:29:58AM +0100, Christian Ebert wrote:
> * 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.

Apparently I queued the wrong copy, sorry.

-- 
Mathematics is the supreme nostalgia of our time.


More information about the Mercurial-devel mailing list