[PATCH] remove: use ctx.hasdir(f) instead of 'f in ctx.dirs()'

Matt Mackall mpm at selenic.com
Thu May 7 13:57:29 CDT 2015


On Tue, 2015-05-05 at 16:08 -0700, Martin von Zweigbergk wrote:
> # HG changeset patch
> # User Martin von Zweigbergk <martinvonz at google.com>
> # Date 1429633799 25200
> #      Tue Apr 21 09:29:59 2015 -0700
> # Node ID 55d4b9553bef160e031f1249ab9d0ec01cdadc3c
> # Parent  c5d4f9cc8da7bb2068457e96e4f74ff694514ced
> remove: use ctx.hasdir(f) instead of 'f in ctx.dirs()'

Queued for default, thanks. Am I right in thinking that we can make
hasdir() do a quick bisection on flat manifests now?

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial-devel mailing list