Show More
@@ -54,6 +54,10 b' def _playback(journal, report, opener, v' | |||
|
54 | 54 | checkambig = checkambigfiles and (f, '') in checkambigfiles |
|
55 | 55 | try: |
|
56 | 56 | fp = opener(f, 'a', checkambig=checkambig) |
|
57 | if fp.tell() < o: | |
|
58 | raise error.Abort(_( | |
|
59 | "attempted to truncate %s to %d bytes, but it was " | |
|
60 | "already %d bytes\n") % (f, o, fp.tell())) | |
|
57 | 61 | fp.truncate(o) |
|
58 | 62 | fp.close() |
|
59 | 63 | except IOError: |
General Comments 0
You need to be logged in to leave comments.
Login now