comparison mercurial/copies.py @ 44972:9e5f598fd29b stable

py3: fix comparison between int and None If stop is None, the condition was always false on Python 2, as None compares smaller than ints. Therefore we make the condition false if stop is None.
author Manuel Jacob <me@manueljacob.de>
date Tue, 16 Jun 2020 14:38:50 +0200
parents d452acc8cce8
children 61719b9658b1
comparison
equal deleted inserted replaced
44971:423e20c78e6d 44972:9e5f598fd29b