diff CHANGELOG @ 5126:d57f4326623e

fold: replace a compat condition with a less specific proxy If `scmutil.cleanupnodes()` is overridden, the check in `scmutil.cleanupnodes.__code__.co_varnames` will fail. Let's use a less specific proxy for that condition so extensions are safely override `scmutil.cleanupnodes()`. I picked `util.safehasattr(scmutil, 'nullrev')` as the proxy. That basically checks for Mercurial commit d739f423bf06, which is two commits later than the commit we actually care about.
author Martin von Zweigbergk <martinvonz@google.com>
date Tue, 04 Feb 2020 12:46:55 -0800
parents 22548cdeb2b0
children 19b8ffd23795
line wrap: on
line diff