util: move "default" lookupreg to posix.py
authorAdrian Buehlmann <adrian@cadifra.com>
Fri, 22 Jul 2011 10:31:56 +0200
changeset 14910 570ea0259b0a
parent 14909 c627fe32c923
child 14911 5b39503157fd
util: move "default" lookupreg to posix.py There is a lookupreg in win32.py, which we get via windows.py
mercurial/posix.py
mercurial/util.py
--- 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.