mercurial/util.py
changeset 10240 3af4b39afe2a
parent 10239 8e4be44a676f
child 10264 d6512b3e9ac0
--- a/mercurial/util.py	Wed Jan 06 21:11:58 2010 +0100
+++ b/mercurial/util.py	Sun Jan 10 18:13:34 2010 +0100
@@ -529,6 +529,14 @@
 def lookup_reg(key, name=None, scope=None):
     return None
 
+def hidewindow():
+    """Hide current shell window.
+
+    Used to hide the window opened when starting asynchronous
+    child process under Windows, unneeded on other systems.
+    """
+    pass
+
 if os.name == 'nt':
     from windows import *
 else: