hgext/largefiles/remotestore.py
changeset 19003 ad993cb7bbb1
parent 19002 5083baa6cbf8
child 19004 6614e5e24e66
equal deleted inserted replaced
19002:5083baa6cbf8 19003:ad993cb7bbb1
    77         try:
    77         try:
    78             return lfutil.copyandhash(util.filechunkiter(infile, 128 * 1024),
    78             return lfutil.copyandhash(util.filechunkiter(infile, 128 * 1024),
    79                                       tmpfile)
    79                                       tmpfile)
    80         finally:
    80         finally:
    81             infile.close()
    81             infile.close()
    82             tmpfile.close()
       
    83 
    82 
    84     def _verifyfile(self, cctx, cset, contents, standin, verified):
    83     def _verifyfile(self, cctx, cset, contents, standin, verified):
    85         filename = lfutil.splitstandin(standin)
    84         filename = lfutil.splitstandin(standin)
    86         if not filename:
    85         if not filename:
    87             return False
    86             return False