mercurial/manifest.py
changeset 6743 86e8187b721a
parent 6389 0231f763ebc8
child 6749 51b0e799352f
--- a/mercurial/manifest.py	Thu Jun 26 13:46:33 2008 -0500
+++ b/mercurial/manifest.py	Thu Jun 26 13:46:34 2008 -0500
@@ -24,10 +24,8 @@
     def linkf(self, f):
         "test for symlink in manifest flags"
         return "l" in self.flags(f)
-    def set(self, f, execf=False, linkf=False):
-        if linkf: self._flags[f] = "l"
-        elif execf: self._flags[f] = "x"
-        else: self._flags[f] = ""
+    def set(self, f, flags):
+        self._flags[f] = flags
     def copy(self):
         return manifestdict(dict.copy(self), dict.copy(self._flags))