mercurial/util.py
changeset 6877 1d38f3605b20
parent 6835 08d9e0f974d9
child 6878 202d178ec706
--- a/mercurial/util.py	Sun Aug 10 18:01:03 2008 -0500
+++ b/mercurial/util.py	Sun Aug 10 21:55:06 2008 -0500
@@ -996,7 +996,7 @@
         '''return False if pid dead, True if running or not known'''
         return True
 
-    def set_flags(f, flags):
+    def set_flags(f, l, x):
         pass
 
     def set_binary(fd):
@@ -1143,10 +1143,8 @@
         """check whether a file is executable"""
         return (os.lstat(f).st_mode & 0100 != 0)
 
-    def set_flags(f, flags):
+    def set_flags(f, l, x):
         s = os.lstat(f).st_mode
-        x = "x" in flags
-        l = "l" in flags
         if l:
             if not stat.S_ISLNK(s):
                 # switch file to link