# HG changeset patch # User Adrian Buehlmann # Date 2011-05-06 12:58:04 # Node ID 73cca883370dd7f15d9cc4443848cb8141cc1f67 # Parent f0ca440b5722e618709389bb72e11a7849f28bca rename scmutil.user_rcpath to userrcpath diff --git a/mercurial/scmutil.py b/mercurial/scmutil.py --- a/mercurial/scmutil.py +++ b/mercurial/scmutil.py @@ -363,7 +363,7 @@ def walkrepos(path, followsym=False, see def osrcpath(): '''return default os-specific hgrc search path''' path = systemrcpath() - path.extend(user_rcpath()) + path.extend(userrcpath()) path = [os.path.normpath(f) for f in path] return path @@ -415,7 +415,7 @@ if os.name != 'nt': path.extend(rcfiles('/etc/mercurial')) return path - def user_rcpath(): + def userrcpath(): return [os.path.expanduser('~/.hgrc')] else: @@ -453,7 +453,7 @@ else: rcpath.append(os.path.join(p, f)) return rcpath - def user_rcpath(): + def userrcpath(): '''return os-specific hgrc search path to the user dir''' home = os.path.expanduser('~') path = [os.path.join(home, 'mercurial.ini'),