Merge with crew-stable
authorBrendan Cully <brendan@kublai.com>
Mon, 15 Dec 2008 12:03:28 -0800
changeset 7533 4acf5f24912b
parent 7521 ca044918fdf1 (current diff)
parent 7522 2f4a399a8787 (diff)
child 7534 5aca12729a0d
Merge with crew-stable
--- a/hgext/inotify/__init__.py	Sun Dec 14 23:05:18 2008 -0800
+++ b/hgext/inotify/__init__.py	Mon Dec 15 12:03:28 2008 -0800
@@ -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__