changeset 30644:2bb8c53be961

chgserver: override runcommand Next patches will customize chgserver's runcommand. So let's override it. The docstring is temporarily missing and will be filled later.
author Jun Wu <quark@fb.com>
date Fri, 16 Dec 2016 14:48:37 +0000
parents dfb19aed409e
children a3f335d1247c
files mercurial/chgserver.py
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/chgserver.py	Fri Dec 16 14:46:34 2016 +0000
+++ b/mercurial/chgserver.py	Fri Dec 16 14:48:37 2016 +0000
@@ -504,6 +504,9 @@
         else:
             self.cresult.write('\0')
 
+    def runcommand(self):
+        return super(chgcmdserver, self).runcommand()
+
     def setenv(self):
         """Clear and update os.environ
 
@@ -522,6 +525,7 @@
     capabilities.update({'attachio': attachio,
                          'chdir': chdir,
                          'getpager': getpager,
+                         'runcommand': runcommand,
                          'setenv': setenv,
                          'setumask': setumask})