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.
--- 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})