mercurial/util.py
changeset 10240 3af4b39afe2a
parent 10239 8e4be44a676f
child 10264 d6512b3e9ac0
equal deleted inserted replaced
10239:8e4be44a676f 10240:3af4b39afe2a
   527         raise OSError(0, _("Hardlinks not supported"))
   527         raise OSError(0, _("Hardlinks not supported"))
   528 
   528 
   529 def lookup_reg(key, name=None, scope=None):
   529 def lookup_reg(key, name=None, scope=None):
   530     return None
   530     return None
   531 
   531 
       
   532 def hidewindow():
       
   533     """Hide current shell window.
       
   534 
       
   535     Used to hide the window opened when starting asynchronous
       
   536     child process under Windows, unneeded on other systems.
       
   537     """
       
   538     pass
       
   539 
   532 if os.name == 'nt':
   540 if os.name == 'nt':
   533     from windows import *
   541     from windows import *
   534 else:
   542 else:
   535     from posix import *
   543     from posix import *
   536 
   544