inotify: repo is not referenced from server, remove the weakref
authorNicolas Dumazet <nicdumz.commits@gmail.com>
Mon, 29 Jun 2009 01:33:26 +0900
changeset 9352 37042e8b3b34
parent 9351 206f7f4c5c2a
child 9354 cc3916411873
inotify: repo is not referenced from server, remove the weakref
hgext/inotify/__init__.py
--- a/hgext/inotify/__init__.py	Mon Jun 29 01:27:34 2009 +0900
+++ b/hgext/inotify/__init__.py	Mon Jun 29 01:33:26 2009 +0900
@@ -57,9 +57,6 @@
     if not hasattr(repo, 'dirstate'):
         return
 
-    # XXX: weakref until hg stops relying on __del__
-    repo = proxy(repo)
-
     class inotifydirstate(repo.dirstate.__class__):
 
         # We'll set this to false after an unsuccessful attempt so that