Mercurial > hg-stable
changeset 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 |
files | mercurial/posix.py mercurial/util.py |
diffstat | 2 files changed, 2 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/posix.py Fri Jul 22 09:55:46 2011 +0200 +++ b/mercurial/posix.py Fri Jul 22 10:31:56 2011 +0200 @@ -338,3 +338,5 @@ except OSError: pass +def lookupreg(key, name=None, scope=None): + return None
--- a/mercurial/util.py Fri Jul 22 09:55:46 2011 +0200 +++ b/mercurial/util.py Fri Jul 22 10:31:56 2011 +0200 @@ -475,9 +475,6 @@ return _("filename ends with '%s', which is not allowed " "on Windows") % t -def lookupreg(key, name=None, scope=None): - return None - def hidewindow(): """Hide current shell window.