mercurial/commandserver.py
changeset 28027 14033c5dd261
parent 27915 5f2a308bac94
child 28156 75f586a1bf55
--- a/mercurial/commandserver.py	Mon Feb 08 00:47:36 2016 +0000
+++ b/mercurial/commandserver.py	Wed Feb 03 09:11:22 2016 +0000
@@ -262,7 +262,7 @@
         hellomsg += '\n'
         hellomsg += 'encoding: ' + encoding.encoding
         hellomsg += '\n'
-        hellomsg += 'pid: %d' % os.getpid()
+        hellomsg += 'pid: %d' % util.getpid()
 
         # write the hello msg in -one- chunk
         self.cout.write(hellomsg)