[PATCH 5 of 5] inotify: repo is not referenced from server, remove the weakref
Nicolas Dumazet
nicdumz at gmail.com
Fri Aug 14 07:11:54 UTC 2009
# HG changeset patch
# User Nicolas Dumazet <nicdumz.commits at gmail.com>
# Date 1246206806 -32400
# Node ID e04391b89361057fc57e93856124ba08c3b5bbd0
# Parent 7c81c5c94fefad6050480c05e1019beba5abe240
inotify: repo is not referenced from server, remove the weakref
diff --git a/hgext/inotify/__init__.py b/hgext/inotify/__init__.py
--- a/hgext/inotify/__init__.py
+++ b/hgext/inotify/__init__.py
@@ -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
More information about the Mercurial-devel
mailing list