changeset 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 470a6ace7574
children 0d5f139b23c1
files hgext/bookmarks.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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