diff -r 2a35296a6304 -r 5083baa6cbf8 hgext/largefiles/localstore.py --- a/hgext/largefiles/localstore.py Mon Apr 15 23:43:44 2013 +0200 +++ b/hgext/largefiles/localstore.py Mon Apr 15 23:43:50 2013 +0200 @@ -45,6 +45,7 @@ return lfutil.copyandhash(fd, tmpfile) finally: fd.close() + tmpfile.close() def _verifyfile(self, cctx, cset, contents, standin, verified): filename = lfutil.splitstandin(standin)