mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 23:38:50 +03:00
bundle2: rename functions that have the same name
This commit is contained in:
parent
4d34e988b1
commit
d553e368f9
@ -832,13 +832,13 @@ def handlechangegroup(op, inpart):
|
||||
assert not inpart.read()
|
||||
|
||||
@parthandler('b2x:reply:changegroup', ('return', 'in-reply-to'))
|
||||
def handlechangegroup(op, inpart):
|
||||
def handlereplychangegroup(op, inpart):
|
||||
ret = int(inpart.params['return'])
|
||||
replyto = int(inpart.params['in-reply-to'])
|
||||
op.records.add('changegroup', {'return': ret}, replyto)
|
||||
|
||||
@parthandler('b2x:check:heads')
|
||||
def handlechangegroup(op, inpart):
|
||||
def handlecheckheads(op, inpart):
|
||||
"""check that head of the repo did not change
|
||||
|
||||
This is used to detect a push race when using unbundle.
|
||||
|
Loading…
Reference in New Issue
Block a user