mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 01:07:15 +03:00
d38f639086
Summary: Previously, fastannotate requires `.hg/fastannotate` to be writable. However, this cannot be guaranteed in cases like running hg in other's repo. This patch adds some exception handling to make fastannotate running in "fctx" mode just work even if `.hg/fastannotate` is not writable. Note: the `fastannotate` command ("fastannotate" mode) is not changed as if that command is triggered explicitly, the user should be aware of it works differently from the vanilla annotate command. Test Plan: Added a test Reviewers: #sourcecontrol, durham Reviewed By: durham Subscribers: mjpieters Differential Revision: https://phabricator.intern.facebook.com/D4481427 Tasks: 15489272 Signature: t1:4481427:1485775004:ccc0b99b38146034c5b235445d762e55dbb78dbe |
||
---|---|---|
.. | ||
__init__.py | ||
commands.py | ||
context.py | ||
error.py | ||
formatter.py | ||
protocol.py | ||
revmap.py | ||
support.py |