inotify: do not attempt to monkeypatch bundlerepos

This commit is contained in:
Brendan Cully 2008-12-15 12:02:18 -08:00
parent 6e6159b63f
commit f24e56c3ad

View File

@ -39,7 +39,7 @@ def serve(ui, repo, **opts):
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__