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.
--- 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