Show More
@@ -239,10 +239,10 b' def persist_nodemap(tr, revlog, pending=' | |||
|
239 | 239 | fd.write(data) |
|
240 | 240 | if feed_data: |
|
241 | 241 | if use_mmap: |
|
242 | new_data = data | |
|
243 | else: | |
|
244 | 242 | fd.flush() |
|
245 | 243 | new_data = util.buffer(util.mmapread(fd, len(data))) |
|
244 | else: | |
|
245 | new_data = data | |
|
246 | 246 | target_docket.data_length = len(data) |
|
247 | 247 | target_docket.tip_rev = revlog.tiprev() |
|
248 | 248 | target_docket.tip_node = revlog.node(target_docket.tip_rev) |
General Comments 0
You need to be logged in to leave comments.
Login now