# HG changeset patch # User Adrian Buehlmann # Date 2011-07-22 08:31:56 # Node ID 570ea0259b0a0d923a0b26470ac0594b8c777db5 # Parent c627fe32c9238e07b4ddc583d62574cb146429e1 util: move "default" lookupreg to posix.py There is a lookupreg in win32.py, which we get via windows.py diff --git a/mercurial/posix.py b/mercurial/posix.py --- a/mercurial/posix.py +++ b/mercurial/posix.py @@ -338,3 +338,5 @@ def unlinkpath(f): except OSError: pass +def lookupreg(key, name=None, scope=None): + return None diff --git a/mercurial/util.py b/mercurial/util.py --- a/mercurial/util.py +++ b/mercurial/util.py @@ -475,9 +475,6 @@ def checkwinfilename(path): 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.