bookmarks: complete the missing references from dda4ad7c9ea9 (issue2121)
authorIsaac Jurado <diptongo@gmail.com>
Sat, 17 Apr 2010 14:32:26 +0200
changeset 10956 a156ce543a5b
parent 10955 470a6ace7574
child 10957 0d5f139b23c1
bookmarks: complete the missing references from dda4ad7c9ea9 (issue2121) The fix for issue1611 left one last use of "repo" instead of "self" that has resulted in more memory leaks from push/pull operations.
hgext/bookmarks.py
--- a/hgext/bookmarks.py	Tue Apr 06 22:15:43 2010 -0300
+++ b/hgext/bookmarks.py	Sat Apr 17 14:32:26 2010 +0200
@@ -308,7 +308,7 @@
                 super(bookmark_repo, self).invalidate()
                 for attr in ('_bookmarks', '_bookmarkcurrent'):
                     if attr in self.__dict__:
-                        delattr(repo, attr)
+                        delattr(self, attr)
 
     repo.__class__ = bookmark_repo