changeset 15057 | 774da7121fc9 |
parent 14936 | 9dca7653b525 |
child 15097 | cda7a87c1871 |
--- a/mercurial/localrepo.py Wed Aug 24 05:42:41 2011 -0400 +++ b/mercurial/localrepo.py Thu Aug 25 20:21:04 2011 -0400 @@ -521,7 +521,7 @@ for label, nodes in branches.iteritems(): for node in nodes: f.write("%s %s\n" % (hex(node), encoding.fromlocal(label))) - f.rename() + f.close() except (IOError, OSError): pass