--- a/Plugins/VcsPlugins/vcsMercurial/hg.py Sun Apr 25 18:06:50 2010 +0000 +++ b/Plugins/VcsPlugins/vcsMercurial/hg.py Tue Apr 27 17:30:55 2010 +0000 @@ -103,6 +103,7 @@ self.tagbranchList = None self.annotate = None self.editor = None + self.bundleFile = None self.statusCache = {} @@ -131,6 +132,9 @@ self.tagbranchList.close() if self.annotate is not None: self.annotate.close() + + if self.bundleFile and os.path.exists(self.bundleFile): + os.remove(self.bundleFile) def vcsExists(self): """