Mercurial > hg
diff mercurial/hg.py @ 43882:a21a6dad4b38
typing: add an assertion to util.versiontuple
Fixes the following warning:
line 1177, in versiontuple: No attribute 'split' on None [attribute-error]
In Optional[bytes]
Differential Revision: https://phab.mercurial-scm.org/D7676
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Sun, 15 Dec 2019 21:36:06 -0500 |
parents | be8552f25cab |
children | a61287a95dc3 |