diff hgext/bookmarks.py @ 10956:a156ce543a5b

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.
author Isaac Jurado <diptongo@gmail.com>
date Sat, 17 Apr 2010 14:32:26 +0200
parents f0bfe42c7b1f
children 49a07f441496
line wrap: on
line diff
--- 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