Show More
@@ -481,13 +481,18 b' def emitrevisions(' | |||||
481 | serialized_sidedata = None |
|
481 | serialized_sidedata = None | |
482 | sidedata_flags = (0, 0) |
|
482 | sidedata_flags = (0, 0) | |
483 | if sidedata_helpers: |
|
483 | if sidedata_helpers: | |
484 | old_sidedata = store.sidedata(rev) |
|
484 | try: | |
485 | sidedata, sidedata_flags = sidedatamod.run_sidedata_helpers( |
|
485 | old_sidedata = store.sidedata(rev) | |
486 | store=store, |
|
486 | except error.CensoredNodeError: | |
487 | sidedata_helpers=sidedata_helpers, |
|
487 | # skip any potential sidedata of the censored revision | |
488 |
sidedata= |
|
488 | sidedata = {} | |
489 |
|
|
489 | else: | |
490 | ) |
|
490 | sidedata, sidedata_flags = sidedatamod.run_sidedata_helpers( | |
|
491 | store=store, | |||
|
492 | sidedata_helpers=sidedata_helpers, | |||
|
493 | sidedata=old_sidedata, | |||
|
494 | rev=rev, | |||
|
495 | ) | |||
491 | if sidedata: |
|
496 | if sidedata: | |
492 | serialized_sidedata = sidedatamod.serialize_sidedata(sidedata) |
|
497 | serialized_sidedata = sidedatamod.serialize_sidedata(sidedata) | |
493 |
|
498 |
General Comments 0
You need to be logged in to leave comments.
Login now