[PATCH 0 of 2] context, keyword: reduce use cases of expensive filectx.cmp

Christian Ebert blacktrash at gmx.net
Thu Oct 14 16:40:49 CDT 2010


Hi,

Only compare via filelog when needed, i.e. when comparing
against the working directory.

These patches use isinstance(fctx, context.workingfilectx) to
check this.

The 2nd patch does the same for hgext.keyword adding files
configured for keyword expansion to the condition.

c


More information about the Mercurial-devel mailing list