mercurial/scmposix.py
changeset 32208 d74b0cff94a9
parent 32078 bf5e13e38390
child 34647 dacfcdd8b94e
--- a/mercurial/scmposix.py	Wed Apr 26 22:05:59 2017 +0900
+++ b/mercurial/scmposix.py	Wed Apr 26 22:26:28 2017 +0900
@@ -8,8 +8,8 @@
 
 from . import (
     encoding,
-    osutil,
     pycompat,
+    util,
 )
 
 # BSD 'more' escapes ANSI color sequences by default. This can be disabled by
@@ -23,7 +23,7 @@
     rcdir = os.path.join(path, 'hgrc.d')
     try:
         rcs.extend([os.path.join(rcdir, f)
-                    for f, kind in osutil.listdir(rcdir)
+                    for f, kind in util.listdir(rcdir)
                     if f.endswith(".rc")])
     except OSError:
         pass