equal
deleted
inserted
replaced
43 fd = open(path, 'rb') |
43 fd = open(path, 'rb') |
44 try: |
44 try: |
45 return lfutil.copyandhash(fd, tmpfile) |
45 return lfutil.copyandhash(fd, tmpfile) |
46 finally: |
46 finally: |
47 fd.close() |
47 fd.close() |
|
48 tmpfile.close() |
48 |
49 |
49 def _verifyfile(self, cctx, cset, contents, standin, verified): |
50 def _verifyfile(self, cctx, cset, contents, standin, verified): |
50 filename = lfutil.splitstandin(standin) |
51 filename = lfutil.splitstandin(standin) |
51 if not filename: |
52 if not filename: |
52 return False |
53 return False |