Show More
@@ -716,10 +716,13 b' def _capabilities(repo, proto):' | |||
|
716 | 716 | capsblob = bundle2.encodecaps(bundle2.getrepocaps(repo)) |
|
717 | 717 | caps.append('bundle2=' + urlreq.quote(capsblob)) |
|
718 | 718 | caps.append('unbundle=%s' % ','.join(bundle2.bundlepriority)) |
|
719 | caps.append( | |
|
720 | 'httpheader=%d' % repo.ui.configint('server', 'maxhttpheaderlen', 1024)) | |
|
721 | if repo.ui.configbool('experimental', 'httppostargs', False): | |
|
722 | caps.append('httppostargs') | |
|
719 | ||
|
720 | if proto.name == 'http': | |
|
721 | caps.append('httpheader=%d' % | |
|
722 | repo.ui.configint('server', 'maxhttpheaderlen', 1024)) | |
|
723 | if repo.ui.configbool('experimental', 'httppostargs', False): | |
|
724 | caps.append('httppostargs') | |
|
725 | ||
|
723 | 726 | return caps |
|
724 | 727 | |
|
725 | 728 | # If you are writing an extension and consider wrapping this function. Wrap |
@@ -464,8 +464,8 b' debug output' | |||
|
464 | 464 | running python ".*/dummyssh" user@dummy ('|")hg -R remote serve --stdio('|") (re) |
|
465 | 465 | sending hello command |
|
466 | 466 | sending between command |
|
467 |
remote: 3 |
|
|
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 |
|
|
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 | |
|
469 | 469 | remote: 1 |
|
470 | 470 | preparing listkeys for "bookmarks" |
|
471 | 471 | sending listkeys command |
@@ -467,8 +467,8 b' debug output' | |||
|
467 | 467 | running python ".*/dummyssh" user@dummy ('|")hg -R remote serve --stdio('|") (re) |
|
468 | 468 | sending hello command |
|
469 | 469 | sending between command |
|
470 |
remote: 3 |
|
|
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 |
|
|
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 | |
|
472 | 472 | remote: 1 |
|
473 | 473 | query 1; heads |
|
474 | 474 | sending batch command |
General Comments 0
You need to be logged in to leave comments.
Login now