comparison contrib/chg/hgclient.c @ 41382:2f2a7ea62e9a

commands: check for modheads being None Python 2 allows the > operator to be used with a None and an int. Python 3 does not. So we need to ensure the value isn't None before comparing with >. Differential Revision: https://phab.mercurial-scm.org/D5702
author Gregory Szorc <gregory.szorc@gmail.com>
date Fri, 25 Jan 2019 15:31:07 -0800
parents 763b45bc4483
children 0c320e6032f1
comparison
equal deleted inserted replaced
41381:423a6b2ddafa 41382:2f2a7ea62e9a