Mercurial > hg
diff hgext/blackbox.py @ 49853:e63ab79b2fa1
typing: add some assertions that a variable isn't None
In the case of blackbox, there's a default limit if one isn't explicitly
supplied. For the monotone regex, neither group is optional, so a match means
it's not None.
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Thu, 05 Jan 2023 17:15:27 -0500 |
parents | 642e31cb55f0 |
children | 7f8f6fe13fa9 4323af38e3f2 |
line wrap: on
line diff