diff --git a/mercurial/context.py b/mercurial/context.py
index da2758c0aca04fe20fef2797f80c6079099afca5_bWVyY3VyaWFsL2NvbnRleHQucHk=..03602f76deeed259044e96b1a0600d2ca19b58d3_bWVyY3VyaWFsL2NvbnRleHQucHk= 100644
--- a/mercurial/context.py
+++ b/mercurial/context.py
@@ -1063,7 +1063,7 @@
                 orig = copied.get(f, f)
                 man[f] = getman(orig).get(orig, nullid) + i
                 try:
-                    man.set(f, ff(f))
+                    man.setflag(f, ff(f))
                 except OSError:
                     pass
 
@@ -1389,7 +1389,7 @@
         modified, added, removed = s[0:3]
         for f in modified + added:
             mf[f] = None
-            mf.set(f, self.flags(f))
+            mf.setflag(f, self.flags(f))
         for f in removed:
             if f in mf:
                 del mf[f]
diff --git a/mercurial/localrepo.py b/mercurial/localrepo.py
index da2758c0aca04fe20fef2797f80c6079099afca5_bWVyY3VyaWFsL2xvY2FscmVwby5weQ==..03602f76deeed259044e96b1a0600d2ca19b58d3_bWVyY3VyaWFsL2xvY2FscmVwby5weQ== 100644
--- a/mercurial/localrepo.py
+++ b/mercurial/localrepo.py
@@ -1407,7 +1407,7 @@
                             added.append(f)
                             m[f] = self._filecommit(fctx, m1, m2, linkrev,
                                                     trp, changed)
-                            m.set(f, fctx.flags())
+                            m.setflag(f, fctx.flags())
                     except OSError, inst:
                         self.ui.warn(_("trouble committing %s!\n") % f)
                         raise
diff --git a/mercurial/manifest.py b/mercurial/manifest.py
index da2758c0aca04fe20fef2797f80c6079099afca5_bWVyY3VyaWFsL21hbmlmZXN0LnB5..03602f76deeed259044e96b1a0600d2ca19b58d3_bWVyY3VyaWFsL21hbmlmZXN0LnB5 100644
--- a/mercurial/manifest.py
+++ b/mercurial/manifest.py
@@ -21,7 +21,8 @@
         return self._flags.get(f, "")
     def withflags(self):
         return set(self._flags.keys())
-    def set(self, f, flags):
+    def setflag(self, f, flags):
+        """Set the flags (symlink, executable) for path f."""
         self._flags[f] = flags
     def copy(self):
         return manifestdict(self, dict.copy(self._flags))