--- a/mercurial/wireprotoserver.py Wed Mar 14 15:25:06 2018 -0700
+++ b/mercurial/wireprotoserver.py Wed Mar 14 08:18:15 2018 -0700
@@ -124,6 +124,8 @@
urlreq.quote(self._req.remoteuser or ''))
def addcapabilities(self, repo, caps):
+ caps.append(b'batch')
+
caps.append('httpheader=%d' %
repo.ui.configint('server', 'maxhttpheaderlen'))
if repo.ui.configbool('experimental', 'httppostargs'):
@@ -626,6 +628,7 @@
return 'remote:ssh:' + client
def addcapabilities(self, repo, caps):
+ caps.append(b'batch')
return caps
def checkperm(self, perm):