sapling/fastannotate
Jun Wu 57890ff99f fastannotate: add a method to quickly get the last node of the revmap
Summary:
Previously, to get changeset hashes in the revmap, we have to construct
the `revmap` object, which reads all content of a revmap.

In the following patches, we want to quickly get the last hash of the
revmap to test if the linelog / revmap is up-to-date or not. This patch
adds a method to do so.

Test Plan: Modified existing tests.

Reviewers: #sourcecontrol, stash

Reviewed By: stash

Subscribers: mjpieters

Differential Revision: https://phabricator.intern.facebook.com/D4103898

Signature: t1:4103898:1477988583:15869dfe9028068563b03d1f06d2337562049751
2016-10-29 19:19:18 +01:00
..
__init__.py fastannotate: fix imports and pyflakes check 2016-10-19 16:05:22 +01:00
commands.py fastannotate: move path-related methods to a class 2016-10-22 01:37:08 +01:00
context.py fastannotate: improve compatibility with older hg 2016-10-27 00:19:05 +01:00
error.py fastannotate: move exception classes to error.py 2016-09-08 14:47:49 +01:00
formatter.py fastannotate: support -r wdir() 2016-10-21 20:50:37 +01:00
hgwebsupport.py fastannotate: fix imports and pyflakes check 2016-10-19 16:05:22 +01:00
revmap.py fastannotate: add a method to quickly get the last node of the revmap 2016-10-29 19:19:18 +01:00