diff mercurial/util.py @ 25954:c2ec81891502

util: add a simple poll utility We'll use it to detect when a sshpeer have server output to be displayed. The implementation is super basic because all case support is not the focus of this series.
author Pierre-Yves David <pierre-yves.david@fb.com>
date Wed, 20 May 2015 18:00:05 -0500
parents be930f16a52a
children 328739ea70c3
line wrap: on
line diff
--- a/mercurial/util.py
+++ b/mercurial/util.py
@@ -54,6 +54,7 @@
 oslink = platform.oslink
 parsepatchoutput = platform.parsepatchoutput
 pconvert = platform.pconvert
+poll = platform.poll
 popen = platform.popen
 posixfile = platform.posixfile
 quotecommand = platform.quotecommand