Clearing up the backlog

Matt Mackall mpm at
Sat Aug 13 15:55:34 CDT 2005

On Sat, Aug 13, 2005 at 02:44:55PM +0200, vseguip at wrote:
> Hi Matt, 
>   I wonder if you could apply the 1st patch for i8n which ensures 
> that hg outputs messages to the correct user encoding. The second patch
> of the series stills needs work according to Thomas.

This dies on my system:

> +        # sys.stdin.encoding is used to make "hg log|more" work on Windows
> +        self.encoding = (self.user_encoding 
> +                    or sys.stdout.encoding
> +                    or sys.stdin.encoding or 
> +                    locale.getpreferredencoding())

NameError: global name 'locale' is not defined

I generally use the default 'C' locale.

Mathematics is the supreme nostalgia of our time.

More information about the Mercurial mailing list