Show More
@@ -1158,12 +1158,12 b' def handlereplycaps(op, inpart):' | |||
|
1158 | 1158 | op.reply = bundle20(op.ui, caps) |
|
1159 | 1159 | |
|
1160 | 1160 | @parthandler('error:abort', ('message', 'hint')) |
|
1161 |
def handle |
|
|
1161 | def handleerrorabort(op, inpart): | |
|
1162 | 1162 | """Used to transmit abort error over the wire""" |
|
1163 | 1163 | raise util.Abort(inpart.params['message'], hint=inpart.params.get('hint')) |
|
1164 | 1164 | |
|
1165 | 1165 | @parthandler('error:unsupportedcontent', ('parttype', 'params')) |
|
1166 |
def handle |
|
|
1166 | def handleerrorunsupportedcontent(op, inpart): | |
|
1167 | 1167 | """Used to transmit unknown content error over the wire""" |
|
1168 | 1168 | kwargs = {} |
|
1169 | 1169 | parttype = inpart.params.get('parttype') |
@@ -1176,7 +1176,7 b' def handlereplycaps(op, inpart):' | |||
|
1176 | 1176 | raise error.UnsupportedPartError(**kwargs) |
|
1177 | 1177 | |
|
1178 | 1178 | @parthandler('error:pushraced', ('message',)) |
|
1179 |
def handle |
|
|
1179 | def handleerrorpushraced(op, inpart): | |
|
1180 | 1180 | """Used to transmit push race error over the wire""" |
|
1181 | 1181 | raise error.ResponseError(_('push failed:'), inpart.params['message']) |
|
1182 | 1182 |
General Comments 0
You need to be logged in to leave comments.
Login now