diff hgeditor @ 43589:7f4d58c21aec

largefiles: avoid dynamically subclassing context instances E.g. copies.pathcopies() compares context objects for equality and basectx.__eq__ compares the type. But since largefiles was dynamically creating classes, they would all be unequal. That led pathcopies(), after some changes I made, to not short-circuit to get copy info only from the dirstate. This patch fixes that short-circuiting (and other places where context are being compared for equality). Differential Revision: https://phab.mercurial-scm.org/D7143
author Martin von Zweigbergk <martinvonz@google.com>
date Sat, 19 Oct 2019 00:15:41 -0700
parents 1aee2ab0f902
children
line wrap: on
line diff