[PATCH 4 of 4] dirstate: speed up case collision checking

Bryan O'Sullivan bos at serpentine.com
Tue Jun 26 18:28:02 UTC 2012


On Mon, Jun 25, 2012 at 5:43 PM, Bryan O'Sullivan <bos at serpentine.com>wrote:

>
> os.path.dirname is definitely not safe to use here.
>

It looks like I was reading the wrong code when making this assertion. The
ntpath code for dirname in Python actually does handle both '/' and '\'.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-devel/attachments/20120626/8b035311/attachment-0002.html>


More information about the Mercurial-devel mailing list