diff mercurial/util.py @ 13985:26335a817dd0

move os_rcpath from util to scmutil
author Adrian Buehlmann <adrian@cadifra.com>
date Thu, 21 Apr 2011 20:54:45 +0200
parents af60153b5e3b
children 97ed99d1f419
line wrap: on
line diff
--- a/mercurial/util.py	Thu Apr 21 20:14:29 2011 +0200
+++ b/mercurial/util.py	Thu Apr 21 20:54:45 2011 +0200
@@ -1083,13 +1083,6 @@
     except (UnicodeDecodeError, UnicodeEncodeError):
         return _ellipsis(text, maxlength)[0]
 
-def os_rcpath():
-    '''return default os-specific hgrc search path'''
-    path = system_rcpath()
-    path.extend(user_rcpath())
-    path = [os.path.normpath(f) for f in path]
-    return path
-
 def bytecount(nbytes):
     '''return byte count formatted as readable string, with units'''