--- a/hgext/fastannotate/__init__.py Sat Oct 05 10:29:34 2019 -0400
+++ b/hgext/fastannotate/__init__.py Sun Oct 06 09:45:02 2019 -0400
@@ -149,9 +149,11 @@
commands.registercommand()
elif name == 'hgweb':
from . import support
+
support.replacehgwebannotate()
elif name == 'fctx':
from . import support
+
support.replacefctxannotate()
commands.wrapdefault()
else:
@@ -160,11 +162,13 @@
if ui.configbool('fastannotate', 'server'):
protocol.serveruisetup(ui)
+
def extsetup(ui):
# fastannotate has its own locking, without depending on repo lock
# TODO: avoid mutating this unless the specific repo has it enabled
localrepo.localrepository._wlockfreeprefix.add('fastannotate/')
+
def reposetup(ui, repo):
if ui.configbool('fastannotate', 'client'):
protocol.clientreposetup(ui, repo)