HomePhabricator

copies: move `merged` testing sooner

Authored by marmoute.

Description

copies: move merged testing sooner

previously is_merged was an expensive callback. Now that all this data is
pre-computed, this is is a simple membership testing.

So it is probably cheaper than the membership testing.

Differential Revision: https://phab.mercurial-scm.org/D9141

Details

Committed
marmouteThu, Oct 1, 3:45 AM
Differential Revision
D9141: copies: move `merged` testing sooner
Parents
rHG1720d843d6cb: copies: return None instead of ChangingFiles when relevant
Branches
Unknown
Tags
Unknown