diff mercurial/util_win32.py @ 4098:c08b6af023bc

util_win32.py: fix user_rcpath Fixes issue504.
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
date Fri, 16 Feb 2007 05:53:03 -0200
parents 6b4127c7d52a
children 8c2a18cc3096
line wrap: on
line diff
--- a/mercurial/util_win32.py
+++ b/mercurial/util_win32.py
@@ -187,7 +187,7 @@ def system_rcpath_win32():
         filename = win32api.GetModuleFileName(0)
     return [os.path.join(os.path.dirname(filename), 'mercurial.ini')]
 
-def user_rcpath():
+def user_rcpath_win32():
     '''return os-specific hgrc search path to the user dir'''
     userdir = os.path.expanduser('~')
     if userdir == '~':