Mercurial > hg
comparison tests/test-merge8.t @ 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 | eb586ed5d8ce |
children |
comparison
equal
deleted
inserted
replaced
43586:d77e8800790b | 43589:7f4d58c21aec |
---|