comparison mercurial/util.py @ 14910:570ea0259b0a

util: move "default" lookupreg to posix.py There is a lookupreg in win32.py, which we get via windows.py
author Adrian Buehlmann <adrian@cadifra.com>
date Fri, 22 Jul 2011 10:31:56 +0200
parents c627fe32c923
children 5b39503157fd
comparison
equal deleted inserted replaced
14909:c627fe32c923 14910:570ea0259b0a
473 t = n[-1] 473 t = n[-1]
474 if t in '. ': 474 if t in '. ':
475 return _("filename ends with '%s', which is not allowed " 475 return _("filename ends with '%s', which is not allowed "
476 "on Windows") % t 476 "on Windows") % t
477 477
478 def lookupreg(key, name=None, scope=None):
479 return None
480
481 def hidewindow(): 478 def hidewindow():
482 """Hide current shell window. 479 """Hide current shell window.
483 480
484 Used to hide the window opened when starting asynchronous 481 Used to hide the window opened when starting asynchronous
485 child process under Windows, unneeded on other systems. 482 child process under Windows, unneeded on other systems.