memctx: remove flags since it is now inherited
authorSean Farley <sean.michael.farley@gmail.com>
Thu, 15 Aug 2013 15:19:29 -0500
changeset 21686 51df9879b7f9
parent 21685 428af94bbccd
child 21687 da67d855a8a2
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.
mercurial/context.py
--- a/mercurial/context.py	Thu Aug 15 15:17:05 2013 -0500
+++ b/mercurial/context.py	Thu Aug 15 15:19:29 2013 -0500
@@ -1578,9 +1578,6 @@
             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