mercurial/commandserver.py
changeset 23036 19f5273c9f3e
parent 22994 840be5ca03e1
child 23322 000cfc8b3913
--- a/mercurial/commandserver.py	Sat Oct 18 21:52:11 2014 +0900
+++ b/mercurial/commandserver.py	Sat Oct 18 12:24:50 2014 +0900
@@ -232,6 +232,8 @@
         hellomsg = 'capabilities: ' + ' '.join(sorted(self.capabilities))
         hellomsg += '\n'
         hellomsg += 'encoding: ' + encoding.encoding
+        hellomsg += '\n'
+        hellomsg += 'pid: %d' % os.getpid()
 
         # write the hello msg in -one- chunk
         self.cout.write(hellomsg)