Skip to content
Snippets Groups Projects
Commit 8cf97e0e authored by Gregory Szorc's avatar Gregory Szorc
Browse files

narrow: pass node into revlog.revision()

This is one of the few (possibly only) places where we pass an int in
for filelogs. Other revlogs (notably changelog) are very heavy on int
usage. But filelogs are surprisingly node centric. I'd like to
formalize the interface around the use of nodes (at least for
filelogs). So let's switch to a node.

We can't inline revlog.node() because of a check-code rule. I think
that rule is suspect. But it may be for performance reasons with
changelog code. I'd rather not touch it at this time.

Differential Revision: https://phab.mercurial-scm.org/D3043
parent 5859800e
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment