mercurial/templates/raw/index.tmpl
author Matt Harbison <matt_harbison@yahoo.com>
Wed, 21 Aug 2024 22:15:05 -0400
changeset 51826 0338fb200a30
parent 9999 f91e5630ce7e
permissions -rw-r--r--
typing: lock in new pytype gains from making revlog related classes typeable These were pretty clean changes in the pyi files from earlier in this series, so add them to the code to make it more understandable. There's one more trivial hint that can be added to the return of `mercurial.revlogutils.rewrite._filelog_from_filename()`, however it needs to be imported from '..' under the conditional of `typing.TYPE_CHECKING`, and that seems to confuse the import checker- possibly because there's already an import block from that level. (I would have expected a message about multiple import statements in this case, but got one about higher level imports should come first, no matter where I put the import statement.)
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
8429
4bf90ee588b9 raw: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 4024
diff changeset
     1
{header}
4bf90ee588b9 raw: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 4024
diff changeset
     2
{entries%indexentry}