[PATCH 13 of 19 STABLE] largefiles: refactoring to use 'inctx()'/'inctxdirs()'

Greg Ward greg at gerg.ca
Tue Feb 28 02:00:25 UTC 2012


On 27 February 2012, FUJIWARA Katsunori said:
> # HG changeset patch
> # User FUJIWARA Katsunori <foozy at lares.dti.ne.jp>
> # Date 1330335216 -32400
> # Branch stable
> # Node ID 80ad9da167d20345ccf59b8ff968c44f206d1e09
> # Parent  15efcfa1e00dc6a773d963da69271f3fc0660eaa
> largefiles: refactoring to use 'inctx()'/'inctxdirs()'

Why? How is

    inctx(sf, ctx2)

clearer than

    sf in dirstate

?

And if this isn't merely a question of clarity -- if you are improving
performance or fixing a bug -- then this isn't refactoring.

        Greg
-- 
Greg Ward                                http://www.gerg.ca/



More information about the Mercurial-devel mailing list