bundle2: rename duplicate handlepushkeyreply to handleobsmarkerreply
authorMartin von Zweigbergk <martinvonz@google.com>
Wed, 10 Jun 2015 14:47:24 -0700
changeset 25506 86472038dfd2
parent 25505 19717d3c8f94
child 25507 5bee483705e8
bundle2: rename duplicate handlepushkeyreply to handleobsmarkerreply The function was only called through the parthandlermapping dict, so it was confusing but safe in practice.
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'])