mercurial/util.py
changeset 2117 760339ccc799
parent 2115 fd77b7ee4aac
child 2153 635653cd73ab
child 2176 9b42304d9896
--- a/mercurial/util.py	Fri Apr 21 16:09:43 2006 -0700
+++ b/mercurial/util.py	Tue Apr 25 08:37:05 2006 -0700
@@ -574,7 +574,10 @@
     sys.stdout = winstdout(sys.stdout)
 
     def system_rcpath():
-        return [r'c:\mercurial\mercurial.ini']
+        try:
+            return system_rcpath_win32()
+        except:
+            return [r'c:\mercurial\mercurial.ini']
 
     def os_rcpath():
         '''return default os-specific hgrc search path'''