diff mercurial/win32.py @ 13379:67743d5f49b6

eliminate win32.user_rcpath_win32()
author Adrian Buehlmann <adrian@cadifra.com>
date Mon, 14 Feb 2011 11:13:05 +0100
parents 4ac565a30e84
children 930efdc6bfa4
line wrap: on
line diff
--- a/mercurial/win32.py	Mon Feb 14 11:12:57 2011 +0100
+++ b/mercurial/win32.py	Mon Feb 14 11:13:05 2011 +0100
@@ -222,12 +222,6 @@
         raise ctypes.WinError(_ERROR_INSUFFICIENT_BUFFER)
     return buf.value
 
-def user_rcpath_win32():
-    '''return os-specific hgrc search path to the user dir'''
-    userdir = os.path.expanduser('~')
-    return [os.path.join(userdir, 'mercurial.ini'),
-            os.path.join(userdir, '.hgrc')]
-
 def getuser():
     '''return name of current user'''
     adv = ctypes.windll.advapi32