# HG changeset patch
# User Sean Farley <sean.michael.farley@gmail.com>
# Date 2013-08-15 20:19:29
# Node ID 51df9879b7f9a0384428b43912b84115e3e66f6c
# Parent  428af94bbccd34949468199623d90f7b1e04980a

memctx: remove flags since it is now inherited

commitablectx has a much more robust implementation of flags() so we will use
that instead of just blindly calling the flags function for the given path.

diff --git a/mercurial/context.py b/mercurial/context.py
--- a/mercurial/context.py
+++ b/mercurial/context.py
@@ -1578,9 +1578,6 @@ class memctx(committablectx):
             self._text = editor(self._repo, self, [])
             self._repo.savecommitmessage(self._text)
 
-    def flags(self, f):
-        return self[f].flags()
-
     def parents(self):
         """return contexts for each parent changeset"""
         return self._parents