Mercurial > hg
diff mercurial/simplemerge.py @ 49599:94a797032fc4
typing: add type hints to mpatch implementations
Again, using `merge-pyi` to apply the stubs in cext and then manually type the
private methods. The generated stub without these hints inferred very little,
and the stuff it did was wrong.
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Tue, 08 Nov 2022 14:17:56 -0500 |
parents | d44e3c45f0e4 |
children | 2282d8ac0fa9 |