equal
deleted
inserted
replaced
1596 b'listkeys': (), |
1596 b'listkeys': (), |
1597 b'pushkey': (), |
1597 b'pushkey': (), |
1598 b'digests': tuple(sorted(util.DIGESTS.keys())), |
1598 b'digests': tuple(sorted(util.DIGESTS.keys())), |
1599 b'remote-changegroup': (b'http', b'https'), |
1599 b'remote-changegroup': (b'http', b'https'), |
1600 b'hgtagsfnodes': (), |
1600 b'hgtagsfnodes': (), |
1601 b'rev-branch-cache': (), |
|
1602 b'phases': (b'heads',), |
1601 b'phases': (b'heads',), |
1603 b'stream': (b'v2',), |
1602 b'stream': (b'v2',), |
1604 } |
1603 } |
1605 |
1604 |
1606 |
1605 |
1640 |
1639 |
1641 if not streamsupported or not featuresupported: |
1640 if not streamsupported or not featuresupported: |
1642 caps.pop(b'stream') |
1641 caps.pop(b'stream') |
1643 # Else always advertise support on client, because payload support |
1642 # Else always advertise support on client, because payload support |
1644 # should always be advertised. |
1643 # should always be advertised. |
|
1644 |
|
1645 # b'rev-branch-cache is no longer advertised, but still supported |
|
1646 # for legacy clients. |
1645 |
1647 |
1646 return caps |
1648 return caps |
1647 |
1649 |
1648 |
1650 |
1649 def bundle2caps(remote): |
1651 def bundle2caps(remote): |