Mercurial > hg-stable
diff mercurial/util.py @ 28027:14033c5dd261
util: enable getpid to be replaced
This will enable tests to write stable process ids.
author | timeless <timeless@mozdev.org> |
---|---|
date | Wed, 03 Feb 2016 09:11:22 +0000 |
parents | ba427b51f1d8 |
children | b592564a803c |
line wrap: on
line diff
--- a/mercurial/util.py Mon Feb 08 00:47:36 2016 +0000 +++ b/mercurial/util.py Wed Feb 03 09:11:22 2016 +0000 @@ -65,6 +65,7 @@ findexe = platform.findexe gethgcmd = platform.gethgcmd getuser = platform.getuser +getpid = os.getpid groupmembers = platform.groupmembers groupname = platform.groupname hidewindow = platform.hidewindow