Mercurial > public > mercurial-scm > hg-stable
diff mercurial/util.py @ 6135:be91a77b7f18
merge with crew
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Sat, 16 Feb 2008 13:34:11 +0100 |
parents | 7b937b26adf7 1ee95f7df611 |
children | 989467e8e3a9 |
line wrap: on
line diff
--- a/mercurial/util.py Sat Feb 16 13:33:38 2008 +0100 +++ b/mercurial/util.py Sat Feb 16 13:34:11 2008 +0100 @@ -901,6 +901,9 @@ '''Are we running in a GUI?''' return os.name == "nt" or os.name == "mac" or os.environ.get("DISPLAY") +def lookup_reg(key, name=None, scope=None): + return None + # Platform specific variants if os.name == 'nt': import msvcrt @@ -1092,9 +1095,6 @@ else: nulldev = '/dev/null' - def lookup_reg(key, name=None, scope=None): - return None - def rcfiles(path): rcs = [os.path.join(path, 'hgrc')] rcdir = os.path.join(path, 'hgrc.d')