Mercurial > public > mercurial-scm > hg-stable
diff mercurial/posix.py @ 14911:5b39503157fd
util: move "default" hidewindow to posix.py
There is a hidewindow in win32.py, which we get via windows.py
author | Adrian Buehlmann <adrian@cadifra.com> |
---|---|
date | Fri, 22 Jul 2011 10:35:05 +0200 |
parents | 570ea0259b0a |
children | 4e7e63fc685a |
line wrap: on
line diff
--- a/mercurial/posix.py Fri Jul 22 10:31:56 2011 +0200 +++ b/mercurial/posix.py Fri Jul 22 10:35:05 2011 +0200 @@ -340,3 +340,11 @@ def lookupreg(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