--- a/mercurial/tags.py Sun Apr 25 18:27:12 2010 +0200 +++ b/mercurial/tags.py Sat Apr 24 18:08:06 2010 +0900 @@ -337,4 +337,3 @@ cachefile.write("%s %s\n" % (hex(node), name)) cachefile.rename() - cachefile.close()