# HG changeset patch # User Shun-ichi GOTO # Date 1223045086 18000 # Node ID c89f53103502411ca1db5ce0dbc6c2a90c81a225 # Parent 79b0e059319dddb43f567d4edcdb0fb47aeecc0a Another fix for Win32 compat. diff --git a/hg_delta_editor.py b/hg_delta_editor.py --- a/hg_delta_editor.py +++ b/hg_delta_editor.py @@ -82,6 +82,7 @@ class HgChangeReceiver(delta.Editor): if os.path.exists(self.tag_locations_file): f = open(self.tag_locations_file) self.tag_locations = pickle.load(f) + f.close() else: self.tag_locations = tag_locations pickle_atomic(self.tag_locations, self.tag_locations_file,