# HG changeset patch # User Martin von Zweigbergk # Date 1433972844 25200 # Node ID 86472038dfd2ea8450437cabfdeb31ec75dc5947 # Parent 19717d3c8f941fdd92725ef1723f39edd981e543 bundle2: rename duplicate handlepushkeyreply to handleobsmarkerreply The function was only called through the parthandlermapping dict, so it was confusing but safe in practice. diff -r 19717d3c8f94 -r 86472038dfd2 mercurial/bundle2.py --- a/mercurial/bundle2.py Sun Jun 07 15:49:57 2015 -0700 +++ b/mercurial/bundle2.py Wed Jun 10 14:47:24 2015 -0700 @@ -1378,7 +1378,7 @@ @parthandler('reply:obsmarkers', ('new', 'in-reply-to')) -def handlepushkeyreply(op, inpart): +def handleobsmarkerreply(op, inpart): """retrieve the result of a pushkey request""" ret = int(inpart.params['new']) partid = int(inpart.params['in-reply-to'])