Show More
@@ -899,3 +899,9 def handlepushkeyreply(op, inpart): | |||||
899 | ret = int(inpart.params['return']) |
|
899 | ret = int(inpart.params['return']) | |
900 | partid = int(inpart.params['in-reply-to']) |
|
900 | partid = int(inpart.params['in-reply-to']) | |
901 | op.records.add('pushkey', {'return': ret}, partid) |
|
901 | op.records.add('pushkey', {'return': ret}, partid) | |
|
902 | ||||
|
903 | @parthandler('b2x:obsmarkers') | |||
|
904 | def handleobsmarker(op, inpart): | |||
|
905 | """add a stream of obsmarkers to the repo""" | |||
|
906 | tr = op.gettransaction() | |||
|
907 | op.repo.obsstore.mergemarkers(tr, inpart.read()) |
General Comments 0
You need to be logged in to leave comments.
Login now