[PATCH 09 of 13 STABLE V4] icasefs: avoid path-absoluteness/existance check in util.fspath() for efficiency

Matt Mackall mpm at selenic.com
Wed Dec 21 18:11:16 CST 2011


On Fri, 2011-12-16 at 21:27 +0900, FUJIWARA Katsunori wrote:
> # HG changeset patch
> # User FUJIWARA Katsunori <foozy at lares.dti.ne.jp>
> # Date 1324037380 -32400
> # Branch stable
> # Node ID 0ff8a29782b7b8d85f8dcd4a74d4b8a36773ecb6
> # Parent  8608f1f307974f619ce6b0342592daf7cfee5754
> icasefs: avoid path-absoluteness/existance check in util.fspath() for efficiency
> 
> 'dirstate._normalize()', the only caller of 'util.fspath()', has
> already confirmed exsistance of specified file as relative to root.
> 
> so, this patch omits path-absoluteness/existance check from
> 'util.fspath()'.

Queued for default after fixing minor conflict, thanks.

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial-devel mailing list