mirror of
https://github.com/facebook/sapling.git
synced 2024-10-09 16:31:02 +03:00
5a61921433
Summary: fastannotate has a fastpath, when the node (commit hash) exists in revmap, it would generate the output instantly from the linelog without going through the history. In the "fctx" mode, the vanilla annotate command would pass the revision number instead of changeset node to fastannotate, which prevents fastannotate from using the fast path. This diff converts the revision number to node before testing the fast path to solve the problem. Test Plan: Modified existing tests. Reviewers: #sourcecontrol, durham Reviewed By: durham Subscribers: durham, mjpieters Differential Revision: https://phabricator.intern.facebook.com/D4288927 Signature: t1:4288927:1481073363:3330d60878161139ee195bc968c161d6c0d95ace |
||
---|---|---|
.. | ||
__init__.py | ||
commands.py | ||
context.py | ||
error.py | ||
formatter.py | ||
protocol.py | ||
revmap.py | ||
support.py |