diff mercurial/posix.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 adf5f4bdeaf6
children e2b5605501df
line wrap: on
line diff
--- a/mercurial/posix.py	Sun May 08 20:42:28 2011 +0200
+++ b/mercurial/posix.py	Sun May 08 20:45:47 2011 +0200
@@ -44,7 +44,7 @@
     args = user and ("%s@%s" % (user, host)) or host
     return port and ("%s -p %s" % (args, port)) or args
 
-def is_exec(f):
+def isexec(f):
     """check whether a file is executable"""
     return (os.lstat(f).st_mode & 0100 != 0)