diff -r cfeab932cff7 -r 4499ba5ac35c mercurial/repair.py --- a/mercurial/repair.py Sun Dec 16 23:13:02 2012 +0200 +++ b/mercurial/repair.py Sat Dec 15 20:08:13 2012 +0200 @@ -61,6 +61,7 @@ # have to consider the effect of the stripped revisions and not revisions # missing because the cache is out-of-date. branchmap.updatecache(repo) + repo.destroying() cl = repo.changelog # TODO handle undo of merge sets