diff --git a/hgext3rd/fastannotate/__init__.py b/hgext3rd/fastannotate/__init__.py --- a/hgext3rd/fastannotate/__init__.py +++ b/hgext3rd/fastannotate/__init__.py @@ -105,6 +105,7 @@ from mercurial.i18n import _ from mercurial import ( error as hgerror, + localrepo, util, ) @@ -151,6 +152,9 @@ if ui.configbool('fastannotate', 'useflock', _flockavailable()): context.pathhelper.lock = context.pathhelper._lockflock + # fastannotate has its own locking, without depending on repo lock + localrepo.localrepository._wlockfreeprefix.add('fastannotate/') + def reposetup(ui, repo): client = ui.configbool('fastannotate', 'client', default=None) if client is None: