diff mercurial/posix.py @ 14232:df2399663392

rename util.set_flags to setflags
author Adrian Buehlmann <adrian@cadifra.com>
date Fri, 06 May 2011 15:22:31 +0200
parents 8abe4db2d162
children 659f34b833b9
line wrap: on
line diff
--- a/mercurial/posix.py	Fri May 06 15:19:48 2011 +0200
+++ b/mercurial/posix.py	Fri May 06 15:22:31 2011 +0200
@@ -48,7 +48,7 @@
     """check whether a file is executable"""
     return (os.lstat(f).st_mode & 0100 != 0)
 
-def set_flags(f, l, x):
+def setflags(f, l, x):
     s = os.lstat(f).st_mode
     if l:
         if not stat.S_ISLNK(s):