Show More
@@ -908,3 +908,15 b' def handleobsmarker(op, inpart):' | |||||
908 | if new: |
|
908 | if new: | |
909 | op.repo.ui.status(_('%i new obsolescence markers\n') % new) |
|
909 | op.repo.ui.status(_('%i new obsolescence markers\n') % new) | |
910 | op.records.add('obsmarkers', {'new': new}) |
|
910 | op.records.add('obsmarkers', {'new': new}) | |
|
911 | if op.reply is not None: | |||
|
912 | rpart = op.reply.newpart('b2x:reply:obsmarkers') | |||
|
913 | rpart.addparam('in-reply-to', str(inpart.id), mandatory=False) | |||
|
914 | rpart.addparam('new', '%i' % new, mandatory=False) | |||
|
915 | ||||
|
916 | ||||
|
917 | @parthandler('b2x:reply:obsmarkers', ('new', 'in-reply-to')) | |||
|
918 | def handlepushkeyreply(op, inpart): | |||
|
919 | """retrieve the result of a pushkey request""" | |||
|
920 | ret = int(inpart.params['new']) | |||
|
921 | partid = int(inpart.params['in-reply-to']) | |||
|
922 | op.records.add('obsmarkers', {'new': ret}, partid) |
General Comments 0
You need to be logged in to leave comments.
Login now