Encoding problem and bug running hookscript ?

Matt Mackall mpm at selenic.com
Wed Nov 28 22:23:56 UTC 2012


On Wed, 2012-11-28 at 22:18 +0100, Yannick CHARLES wrote:
> Yes, with
> 
> hg qpush -a --encoding utf-8
> 
> it works perfectly.
> 
> I also checked the encodings (with hg help -v and locale) on the
> server side, I get the same results as in your example.

But did you check _in the hook script_? The environment of hgweb is very
often completely different from your shell command line on the same
machine. Different user, path, environment, permissions, config, etc.

-- 
Mathematics is the supreme nostalgia of our time.





More information about the Mercurial mailing list