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:
Mateusz Kwapich 2016-02-08 14:47:54 -08:00
parent 65d396da6e
commit e1c9a953b7

View File

@ -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',