changeset 25506:86472038dfd2

bundle2: rename duplicate handlepushkeyreply to handleobsmarkerreply The function was only called through the parthandlermapping dict, so it was confusing but safe in practice.
author Martin von Zweigbergk <martinvonz@google.com>
date Wed, 10 Jun 2015 14:47:24 -0700
parents 19717d3c8f94
children 5bee483705e8
files mercurial/bundle2.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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'])