comparison tests/test-revlog-ancestry.py @ 45381:ede4c121239e

mergestate: use collections.defaultdict(dict) for _stateextras I want to use this _stateextras more in upcoming patches to store some commit time related information. Using defaultdict will help in cleaner code around checking whether a file exists or not. Differential Revision: https://phab.mercurial-scm.org/D8919
author Pulkit Goyal <7895pulkit@gmail.com>
date Mon, 10 Aug 2020 15:09:44 +0530
parents 0e5e192adb6f
children 6000f5b25c9b
comparison
equal deleted inserted replaced
45380:f0735f2ce542 45381:ede4c121239e