changeset 9352:37042e8b3b34

inotify: repo is not referenced from server, remove the weakref
author Nicolas Dumazet <nicdumz.commits@gmail.com>
date Mon, 29 Jun 2009 01:33:26 +0900
parents 206f7f4c5c2a
children cc3916411873
files hgext/inotify/__init__.py
diffstat 1 files changed, 0 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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