diff -r 7568f5c1c801 -r 292331e906d7 mercurial/bundle2.py --- a/mercurial/bundle2.py Wed May 28 15:31:05 2014 -0700 +++ b/mercurial/bundle2.py Tue May 27 10:32:07 2014 -0700 @@ -828,9 +828,9 @@ """Used to transmit abort error over the wire""" raise util.Abort(inpart.params['message'], hint=inpart.params.get('hint')) -@parthandler('b2x:error:unknownpart') +@parthandler('b2x:error:unsupportedcontent') def handlereplycaps(op, inpart): - """Used to transmit unknown part error over the wire""" + """Used to transmit unknown content error over the wire""" raise error.BundleValueError(inpart.params['parttype']) @parthandler('b2x:error:pushraced')