# HG changeset patch # User Jun Wu # Date 1481899717 0 # 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 -r dfb19aed409e -r 2bb8c53be961 mercurial/chgserver.py --- 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})