[PATCH 2 of 2] win32mbcs: add special wrapper for osutil.listdir()

Matt Mackall mpm at selenic.com
Wed Jul 15 17:20:06 CDT 2009


On Fri, 2009-07-10 at 10:34 +0000, Shun-ichi Goto wrote:
> # HG changeset patch
> # User Shun-ichi GOTO <shunichi.goto at gmail.com>
> # Date 1247222048 -32400
> # Node ID a0c7fbd08ae58f62929c3d0a6ff573ed84b47e5f
> # Parent  ef9c065ab5527947eb464ead2b37ef666534c424
> win32mbcs: add special wrapper for osutil.listdir().
> 
> osutil.listdir() may misinterpret 0x5c of MBCS 2nd. byte as path
> separator.  New wrapper prevents this by adding it beforehand.
> 

Queued these two for stable, thanks.

-- 
http://selenic.com : development and support for Mercurial and Linux




More information about the Mercurial-devel mailing list