diff mercurial/wireprototypes.py @ 47793:e69c82bf3a01 stable

fix: use obsolete.isenabled() to check for experimental.allowdivergence Now that obsolete.isenabled() can also check if divergence is allowed, let's use it for consistency. Other experimental.evolution options are already checked via this function. Differential Revision: https://phab.mercurial-scm.org/D11222
author Anton Shestakov <av6@dwimlabs.net>
date Wed, 28 Jul 2021 13:47:21 +0300
parents 89a2afe31e82
children 04688c51f81f
line wrap: on
line diff