# HG changeset patch # User Jun Wu # Date 2016-12-16 14:48:37 # Node ID 2bb8c53be961f41026ce99e1227ff2e530fbe425 # Parent dfb19aed409e9288cab6fc45ee2e4d9e1243b718 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. diff --git a/mercurial/chgserver.py b/mercurial/chgserver.py --- a/mercurial/chgserver.py +++ b/mercurial/chgserver.py @@ -504,6 +504,9 @@ class chgcmdserver(commandserver.server) 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 @@ class chgcmdserver(commandserver.server) capabilities.update({'attachio': attachio, 'chdir': chdir, 'getpager': getpager, + 'runcommand': runcommand, 'setenv': setenv, 'setumask': setumask})