Show More
@@ -3118,7 +3118,7 b' class revlog(object):' | |||||
3118 | current_offset += len(serialized_sidedata) |
|
3118 | current_offset += len(serialized_sidedata) | |
3119 |
|
3119 | |||
3120 | # rewrite the new index entries |
|
3120 | # rewrite the new index entries | |
3121 |
with self._indexfp(b' |
|
3121 | with self._indexfp(b'r+') as fp: | |
3122 | fp.seek(startrev * self.index.entry_size) |
|
3122 | fp.seek(startrev * self.index.entry_size) | |
3123 | for i, e in enumerate(new_entries): |
|
3123 | for i, e in enumerate(new_entries): | |
3124 | rev = startrev + i |
|
3124 | rev = startrev + i |
General Comments 0
You need to be logged in to leave comments.
Login now