mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 15:27:13 +03:00
pushrebase: change supportedversions to supportedoutgoingversions
Summary: the api changed once again Test Plan: tests are passing now Reviewers: #sourcecontrol, ttung, durham Reviewed By: durham Differential Revision: https://phabricator.fb.com/D2913893 Signature: t1:2913893:1454971559:052b0a2b20dfde337a74991f0ddb9498f08a9cb0
This commit is contained in:
parent
65d396da6e
commit
e1c9a953b7
@ -417,7 +417,7 @@ def _addpushbackchangegroup(repo, reply, outgoing):
|
||||
cgversions = set(reply.capabilities.get('changegroup'))
|
||||
if not cgversions:
|
||||
cgversions.add('01')
|
||||
version = max(cgversions & set(changegroup.supportedversions(repo)))
|
||||
version = max(cgversions & set(changegroup.supportedoutgoingversions(repo)))
|
||||
|
||||
cg = changegroup.getlocalchangegroupraw(repo,
|
||||
'rebase:reply',
|
||||
|
Loading…
Reference in New Issue
Block a user