diff mercurial/hg.py @ 38104:36a5a1239a15

state: don't have a dict like interface for cmdstate class This patch changes the cmdstate class to stop having a dict like interface and delete the __nonzero__ function. After this patch, the save fuction takes a dict to store the data and read function returns a dict of the data stored. Differential Revision: https://phab.mercurial-scm.org/D3572
author Pulkit Goyal <7895pulkit@gmail.com>
date Wed, 28 Mar 2018 16:31:16 +0530
parents 0664be4f0c1f
children 63e6f5ae84bc
line wrap: on
line diff