##// END OF EJS Templates
Fix memory leak when using hg commands over http repositories...
Fix memory leak when using hg commands over http repositories When using hg commands over an http repository in a long running process, a httphandler instance is leaked for each command, because of a loop handler.parent -> OpenerDirector and OpenerDirector.handlers -> handler which is not handled by Python's gc. Discussion on #mercurial concluded that removing the __del__ method solved the problem.

File last commit:

r11202:f974fe89 default
r12391:ca5fd84d stable
Show More
test-bookmarks-strip.out
18 lines | 484 B | text/plain | TextLexer
/ tests / test-bookmarks-strip.out
% add file
adding qqq.txt
% commit first revision
% set bookmark
% commit second revision
% set bookmark
% update to -2
1 files updated, 0 files merged, 0 files removed, 0 files unresolved
% commit new head
created new head
% bookmarks updated?
test 1:16b24da7e457
test2 1:16b24da7e457
% strip to revision 1
saved backup bundle to
% list bookmarks
* test 1:9f1b7e78eff8
* test2 1:9f1b7e78eff8