equal
deleted
inserted
replaced
71 tags as tagsmod, |
71 tags as tagsmod, |
72 transaction, |
72 transaction, |
73 txnutil, |
73 txnutil, |
74 util, |
74 util, |
75 vfs as vfsmod, |
75 vfs as vfsmod, |
|
76 wireprototypes, |
76 ) |
77 ) |
77 |
78 |
78 from .interfaces import ( |
79 from .interfaces import ( |
79 repository, |
80 repository, |
80 util as interfaceutil, |
81 util as interfaceutil, |
1493 caps = set(caps) |
1494 caps = set(caps) |
1494 capsblob = bundle2.encodecaps( |
1495 capsblob = bundle2.encodecaps( |
1495 bundle2.getrepocaps(self, role=b'client') |
1496 bundle2.getrepocaps(self, role=b'client') |
1496 ) |
1497 ) |
1497 caps.add(b'bundle2=' + urlreq.quote(capsblob)) |
1498 caps.add(b'bundle2=' + urlreq.quote(capsblob)) |
|
1499 if self.ui.configbool(b'experimental', b'narrow'): |
|
1500 caps.add(wireprototypes.NARROWCAP) |
1498 return caps |
1501 return caps |
1499 |
1502 |
1500 # Don't cache auditor/nofsauditor, or you'll end up with reference cycle: |
1503 # Don't cache auditor/nofsauditor, or you'll end up with reference cycle: |
1501 # self -> auditor -> self._checknested -> self |
1504 # self -> auditor -> self._checknested -> self |
1502 |
1505 |