mercurial/wireprotoserver.py
changeset 37053 cd0ca979a8b8
parent 37052 8c3c47362934
child 37054 e7a012b60d6e
--- 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):