Show More
@@ -407,9 +407,6 b' class revbranchcache(object):' | |||
|
407 | 407 | try: |
|
408 | 408 | if self._rbcnamescount != 0: |
|
409 | 409 | f = repo.vfs.open(_rbcnames, 'ab') |
|
410 | # The position after open(x, 'a') is implementation defined- | |
|
411 | # see issue3543. SEEK_END was added in 2.5 | |
|
412 | f.seek(0, 2) #os.SEEK_END | |
|
413 | 410 | if f.tell() == self._rbcsnameslen: |
|
414 | 411 | f.write('\0') |
|
415 | 412 | else: |
@@ -434,9 +431,6 b' class revbranchcache(object):' | |||
|
434 | 431 | revs = min(len(repo.changelog), len(self._rbcrevs) // _rbcrecsize) |
|
435 | 432 | try: |
|
436 | 433 | f = repo.vfs.open(_rbcrevs, 'ab') |
|
437 | # The position after open(x, 'a') is implementation defined- | |
|
438 | # see issue3543. SEEK_END was added in 2.5 | |
|
439 | f.seek(0, 2) #os.SEEK_END | |
|
440 | 434 | if f.tell() != start: |
|
441 | 435 | repo.ui.debug("truncating %s to %s\n" % (_rbcrevs, start)) |
|
442 | 436 | f.seek(start) |
General Comments 0
You need to be logged in to leave comments.
Login now