[PATCH] try to use per-directory clustered stat calls

Christian Boos cboos at neuf.fr
Mon Sep 29 11:14:28 CDT 2008


Hello Petr,

Good timing ;-)

Petr Kodl wrote:
> # HG changeset patch
> # User Petr Kodl <petrkodl at gmail.com>
> # Date 1222703685 14400
> # Node ID 96aa7a920c8687117cec6aca87e5187cf6505a19
> # Parent  9e6d6568bf7a21f900273de027d8975a4e0cecae
> try to use per-directory clustered stat calls
> even in cases where known tree is walked
>
> this allows diff and other calls walking known tree to benefit from osutil.c
> optimizations
>
>   

Indeed, diff and al. (qpush, qnew, etc.) all seem to run on par with hg 
stat now, at least on Windows as I haven't tested on Linux so far.
Thanks a lot for sharing this!

-- Christian


More information about the Mercurial-devel mailing list