Bug in description handling
mj at zopatista.com
Fri Aug 13 14:45:08 CDT 2010
On Fri, Aug 13, 2010 at 21:14, Martijn Pieters <mj at zopatista.com> wrote:
> I can look into porting http://bugs.python.org/issue6202 for use in
> Mercurial. In any case, getpreferredencoding has been fixed for Python
> 2.7, so this only needs to be backported for python 2.6 and earlier.
I've created a patch that simply re-uses the posix
getpreferredencoding code for python on mac before version 2.7, and
removes the setlocale call for the same platform.
All tests pass with the patch applied. hgdebuginstall output:
$ hg debuginstall
Checking encoding (UTF-8)...
Checking commit editor...
No problems detected
Download it from:
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2114 bytes
Desc: not available
More information about the Mercurial-devel