Show More
@@ -77,7 +77,7 b' class basestore(object):' | |||||
77 | except StoreError, err: |
|
77 | except StoreError, err: | |
78 | ui.warn(err.longmessage()) |
|
78 | ui.warn(err.longmessage()) | |
79 | hhash = "" |
|
79 | hhash = "" | |
80 |
tmpfile.close() |
|
80 | tmpfile.close() | |
81 |
|
81 | |||
82 | if hhash != hash: |
|
82 | if hhash != hash: | |
83 | if hhash != "": |
|
83 | if hhash != "": |
@@ -45,7 +45,6 b' class localstore(basestore.basestore):' | |||||
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() |
|
|||
49 |
|
48 | |||
50 | def _verifyfile(self, cctx, cset, contents, standin, verified): |
|
49 | def _verifyfile(self, cctx, cset, contents, standin, verified): | |
51 | filename = lfutil.splitstandin(standin) |
|
50 | filename = lfutil.splitstandin(standin) |
@@ -79,7 +79,6 b' class remotestore(basestore.basestore):' | |||||
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) |
General Comments 0
You need to be logged in to leave comments.
Login now