sapling/fastannotate
Jun Wu 96e56210ff fastannotate: implement the command
Summary:
This diff adds the `fastannotate` command, which puts all components
(formatter, annotatecontext - linelog, revmap) together.

Note that `fastannotate.mainbranch` needs to be carefully chosen to avoid
rebuilds. If `mainbranch` moves backwards, the `fastannotate` command
can fail because it could not move linelog backwards and thus cannot
update linelog incrementally.

Test Plan: Code Review. The `.t` file is coming in the next diff.

Reviewers: #sourcecontrol, stash

Reviewed By: stash

Subscribers: stash, mjpieters

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

Signature: t1:3836670:1474016576:b323b62db3bfd69bff88f6911abbe26075734737
2016-09-08 17:59:01 +01:00
..
__init__.py fastannotate: implement the command 2016-09-08 17:59:01 +01:00
commands.py fastannotate: implement the command 2016-09-08 17:59:01 +01:00
context.py fastannotate: implement the annotate algorithm 2016-09-08 16:54:21 +01:00
error.py fastannotate: move exception classes to error.py 2016-09-08 14:47:49 +01:00
formatter.py fastannotate: add logic to format annotate output 2016-09-08 16:57:50 +01:00
revmap.py fastannotate: appending revmap instead of rewriting whenever possible 2016-09-12 21:01:50 +01:00