##// END OF EJS Templates
git: fix `repository.imanifestdict` implementation flaws detected by pytype...
git: fix `repository.imanifestdict` implementation flaws detected by pytype The next logical step is to align the signatures on `repository.imanifestdict` and the logical subclasses. But that requires this small detour, as doing that caused these errors: File "/mnt/c/Users/Matt/hg/hgext/git/manifest.py", line 247, in items: bad return type [bad-return-type] Expected: Tuple[bytes, bytes] Actually returned: bytes File "/mnt/c/Users/Matt/hg/hgext/git/manifest.py", line 255, in iterentries: bad return type [bad-return-type] Expected: Tuple[bytes, bytes, bytes] Actually returned: Tuple[Any, bytes] The type annotation added to `_resolve_entry()` here to help clarify things then caused PyCharm to flag `gittreemanifestctx.find()` for a bad return type, also fixed here.

File last commit:

r20255:b1d65cb8 default
r53388:c855943e default
Show More
header.tmpl
7 lines | 389 B | application/x-cheetah | CheetahLexer
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<link rel="icon" href="{staticurl|urlescape}hgicon.png" type="image/png">
<meta name="robots" content="index, nofollow" />
<link rel="stylesheet" href="{staticurl|urlescape}style.css" type="text/css" />
<script type="text/javascript" src="{staticurl|urlescape}mercurial.js"></script>