diff hgext/fetch.py @ 43168:01e8eefd9434

py3: fix sorting of obsolete markers when building bundle Last item of marker tuple (parents) is either None or tuple. Comparison thus fails on Python 3 with: TypeError: '<' not supported between instances of 'tuple' and 'NoneType' Fixing this by coercing None to the empty tuple when sorting markers in exchange._getbundleobsmarkerpart().
author Denis Laxalde <denis@laxalde.org>
date Thu, 10 Oct 2019 20:27:34 +0200
parents 8ff1ecfadcd1
children 2f290136b7d6
line wrap: on
line diff