Mercurial > hg
comparison Makefile @ 45495:3dd481e11c25
mergestate: remove unnecessary clearing of `localctx` and `otherctx`
As noted in the previous commit, there are no callers that (re-)use
the instance after calling `reset()`. There are also no callers that
call `_read()` after doing anything with the instance (it's only
called right after an instance is created).
If reviewers feel that this is too risky, I can extract and reuse the
poisoning code that indygreg once added for poisining repo instances.
Differential Revision: https://phab.mercurial-scm.org/D9036
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Thu, 17 Sep 2020 19:33:55 -0700 |
parents | 1c8e3c17c702 |
children | e604a3c03ab9 |
comparison
equal
deleted
inserted
replaced
45494:9ea4b52ac6bb | 45495:3dd481e11c25 |
---|