Show More
@@ -716,10 +716,13 b' def _capabilities(repo, proto):' | |||||
716 | capsblob = bundle2.encodecaps(bundle2.getrepocaps(repo)) |
|
716 | capsblob = bundle2.encodecaps(bundle2.getrepocaps(repo)) | |
717 | caps.append('bundle2=' + urlreq.quote(capsblob)) |
|
717 | caps.append('bundle2=' + urlreq.quote(capsblob)) | |
718 | caps.append('unbundle=%s' % ','.join(bundle2.bundlepriority)) |
|
718 | caps.append('unbundle=%s' % ','.join(bundle2.bundlepriority)) | |
719 | caps.append( |
|
719 | ||
720 | 'httpheader=%d' % repo.ui.configint('server', 'maxhttpheaderlen', 1024)) |
|
720 | if proto.name == 'http': | |
721 | if repo.ui.configbool('experimental', 'httppostargs', False): |
|
721 | caps.append('httpheader=%d' % | |
722 | caps.append('httppostargs') |
|
722 | repo.ui.configint('server', 'maxhttpheaderlen', 1024)) | |
|
723 | if repo.ui.configbool('experimental', 'httppostargs', False): | |||
|
724 | caps.append('httppostargs') | |||
|
725 | ||||
723 | return caps |
|
726 | return caps | |
724 |
|
727 | |||
725 | # If you are writing an extension and consider wrapping this function. Wrap |
|
728 | # If you are writing an extension and consider wrapping this function. Wrap |
@@ -464,8 +464,8 b' debug output' | |||||
464 | running python ".*/dummyssh" user@dummy ('|")hg -R remote serve --stdio('|") (re) |
|
464 | running python ".*/dummyssh" user@dummy ('|")hg -R remote serve --stdio('|") (re) | |
465 | sending hello command |
|
465 | sending hello command | |
466 | sending between command |
|
466 | sending between command | |
467 |
remote: 3 |
|
467 | remote: 355 | |
468 |
remote: capabilities: lookup changegroupsubset branchmap pushkey known getbundle unbundlehash batch streamreqs=generaldelta,revlogv1 bundle2=HG20%0Achangegroup%3D01%2C02%0Adigests%3Dmd5%2Csha1%2Csha512%0Aerror%3Dabort%2Cunsupportedcontent%2Cpushraced%2Cpushkey%0Ahgtagsfnodes%0Alistkeys%0Apushkey%0Aremote-changegroup%3Dhttp%2Chttps unbundle=HG10GZ,HG10BZ,HG10UN |
|
468 | remote: capabilities: lookup changegroupsubset branchmap pushkey known getbundle unbundlehash batch streamreqs=generaldelta,revlogv1 bundle2=HG20%0Achangegroup%3D01%2C02%0Adigests%3Dmd5%2Csha1%2Csha512%0Aerror%3Dabort%2Cunsupportedcontent%2Cpushraced%2Cpushkey%0Ahgtagsfnodes%0Alistkeys%0Apushkey%0Aremote-changegroup%3Dhttp%2Chttps unbundle=HG10GZ,HG10BZ,HG10UN | |
469 | remote: 1 |
|
469 | remote: 1 | |
470 | preparing listkeys for "bookmarks" |
|
470 | preparing listkeys for "bookmarks" | |
471 | sending listkeys command |
|
471 | sending listkeys command |
@@ -467,8 +467,8 b' debug output' | |||||
467 | running python ".*/dummyssh" user@dummy ('|")hg -R remote serve --stdio('|") (re) |
|
467 | running python ".*/dummyssh" user@dummy ('|")hg -R remote serve --stdio('|") (re) | |
468 | sending hello command |
|
468 | sending hello command | |
469 | sending between command |
|
469 | sending between command | |
470 |
remote: 3 |
|
470 | remote: 355 | |
471 |
remote: capabilities: lookup changegroupsubset branchmap pushkey known getbundle unbundlehash batch streamreqs=generaldelta,revlogv1 bundle2=HG20%0Achangegroup%3D01%2C02%0Adigests%3Dmd5%2Csha1%2Csha512%0Aerror%3Dabort%2Cunsupportedcontent%2Cpushraced%2Cpushkey%0Ahgtagsfnodes%0Alistkeys%0Apushkey%0Aremote-changegroup%3Dhttp%2Chttps unbundle=HG10GZ,HG10BZ,HG10UN |
|
471 | remote: capabilities: lookup changegroupsubset branchmap pushkey known getbundle unbundlehash batch streamreqs=generaldelta,revlogv1 bundle2=HG20%0Achangegroup%3D01%2C02%0Adigests%3Dmd5%2Csha1%2Csha512%0Aerror%3Dabort%2Cunsupportedcontent%2Cpushraced%2Cpushkey%0Ahgtagsfnodes%0Alistkeys%0Apushkey%0Aremote-changegroup%3Dhttp%2Chttps unbundle=HG10GZ,HG10BZ,HG10UN | |
472 | remote: 1 |
|
472 | remote: 1 | |
473 | query 1; heads |
|
473 | query 1; heads | |
474 | sending batch command |
|
474 | sending batch command |
General Comments 0
You need to be logged in to leave comments.
Login now