##// END OF EJS Templates
git-hgext: adjust to the lack of `changelog.heads` method...
git-hgext: adjust to the lack of `changelog.heads` method We don't have a `heads` method returning nodeid, but this is very easy to get the same result. This was flagged by pytype. We can note that the fact this code did not break is probably a good sign that it is dead code. However this is a question outside of the scop of this series.

File last commit:

r51654:2c34c9b6 default
r52197:d91b5537 default
Show More
_types.py
6 lines | 126 B | text/x-python | PythonLexer
Raphaël Gomès
thirdparty: vendor tomli...
r51654 from typing import Any, Callable, Tuple
# Type annotations
ParseFloat = Callable[[str], Any]
Key = Tuple[str, ...]
Pos = int