diff --git a/hgext/inotify/__init__.py b/hgext/inotify/__init__.py index 49f34b43cf90266e462c6edcac71e5c0eb970464_aGdleHQvaW5vdGlmeS9fX2luaXRfXy5weQ==..2f4a399a87875abab66cc4c4290237a96b100cfb_aGdleHQvaW5vdGlmeS9fX2luaXRfXy5weQ== 100644 --- a/hgext/inotify/__init__.py +++ b/hgext/inotify/__init__.py @@ -39,7 +39,7 @@ cmdutil.service(opts, initfn=service.init, runfn=service.run) def reposetup(ui, repo): - if not repo.local(): + if not hasattr(repo, 'dirstate'): return # XXX: weakref until hg stops relying on __del__