diff mercurial/dirstate.py @ 14273:38af0f514134

rename util.is_exec to isexec
author Adrian Buehlmann <adrian@cadifra.com>
date Sun, 08 May 2011 20:45:47 +0200
parents 135e244776f0
children cc8c09855d19
line wrap: on
line diff
--- a/mercurial/dirstate.py	Sun May 08 20:42:28 2011 +0200
+++ b/mercurial/dirstate.py	Sun May 08 20:45:47 2011 +0200
@@ -138,7 +138,7 @@
                     p = self._join(x)
                     if os.path.islink(p):
                         return 'l'
-                    if util.is_exec(p):
+                    if util.isexec(p):
                         return 'x'
                     return ''
                 return f
@@ -153,7 +153,7 @@
             def f(x):
                 if 'l' in fallback(x):
                     return 'l'
-                if util.is_exec(self._join(x)):
+                if util.isexec(self._join(x)):
                     return 'x'
                 return ''
             return f