comparison mercurial/context.py @ 43145:4296cc3c4ae1

changelog: make copies related function return None or a valid value With the previous code, existing but empty value were not "decoded", leading to the method returning one of `None`, some valid value (`list` or `dict`) or `b''`. On a general basis, not explicitly checking for None is a source of bugs. Having a clean return types will help the side-data copies code in future changesets. Differential Revision: https://phab.mercurial-scm.org/D7037
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Thu, 10 Oct 2019 00:06:41 +0200
parents 8ff1ecfadcd1
children 0171483b082f
comparison
equal deleted inserted replaced
43144:ea230325dc8c 43145:4296cc3c4ae1