diff doc/docchecker @ 45348:490607efc992

merge: remove emptyactions() and use collections.defaultdict(list) instead emptyactions() used to return a dict which was populated and passed into applyupdates(). However, with recent changes, we no longer pass a plain dict, instead we pass the mergeresult object. There was only one usage of emptyactions and that too inside mergeresult object. That usage is replaced with collections.defaultdict(list) instead. Not sure why we were not using collections.defaultdict(list) from the beginning. Differential Revision: https://phab.mercurial-scm.org/D8903
author Pulkit Goyal <7895pulkit@gmail.com>
date Thu, 06 Aug 2020 13:27:38 +0530
parents 47ef023d0165
children c102b704edb5
line wrap: on
line diff