Show More
@@ -2335,10 +2335,9 b' class revlog(object):' | |||||
2335 | expected = max(0, self.end(len(self) - 1)) |
|
2335 | expected = max(0, self.end(len(self) - 1)) | |
2336 |
|
2336 | |||
2337 | try: |
|
2337 | try: | |
2338 |
|
|
2338 | with self._datafp() as f: | |
2339 | f.seek(0, 2) |
|
2339 | f.seek(0, 2) | |
2340 | actual = f.tell() |
|
2340 | actual = f.tell() | |
2341 | f.close() |
|
|||
2342 | dd = actual - expected |
|
2341 | dd = actual - expected | |
2343 | except IOError as inst: |
|
2342 | except IOError as inst: | |
2344 | if inst.errno != errno.ENOENT: |
|
2343 | if inst.errno != errno.ENOENT: |
General Comments 0
You need to be logged in to leave comments.
Login now