diff mercurial/windows.py @ 25420: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 0a48380b61fb
children 021e68d37c5b
line wrap: on
line diff
--- a/mercurial/windows.py	Wed Jun 03 14:22:21 2015 -0700
+++ b/mercurial/windows.py	Wed May 20 18:00:05 2015 -0500
@@ -371,6 +371,10 @@
     '''check whether a stat result is an executable file'''
     return False
 
+def poll(fds):
+    # see posix.py for description
+    raise NotImplementedError()
+
 def readpipe(pipe):
     """Read all available data from a pipe."""
     chunks = []