##// END OF EJS Templates
bundle2: rename functions that have the same name
Mike Hommey -
r22548:8a1ae133 default
parent child Browse files
Show More
@@ -832,13 +832,13 b' def handlechangegroup(op, inpart):'
832 assert not inpart.read()
832 assert not inpart.read()
833
833
834 @parthandler('b2x:reply:changegroup', ('return', 'in-reply-to'))
834 @parthandler('b2x:reply:changegroup', ('return', 'in-reply-to'))
835 def handlechangegroup(op, inpart):
835 def handlereplychangegroup(op, inpart):
836 ret = int(inpart.params['return'])
836 ret = int(inpart.params['return'])
837 replyto = int(inpart.params['in-reply-to'])
837 replyto = int(inpart.params['in-reply-to'])
838 op.records.add('changegroup', {'return': ret}, replyto)
838 op.records.add('changegroup', {'return': ret}, replyto)
839
839
840 @parthandler('b2x:check:heads')
840 @parthandler('b2x:check:heads')
841 def handlechangegroup(op, inpart):
841 def handlecheckheads(op, inpart):
842 """check that head of the repo did not change
842 """check that head of the repo did not change
843
843
844 This is used to detect a push race when using unbundle.
844 This is used to detect a push race when using unbundle.
General Comments 0
You need to be logged in to leave comments. Login now