changeset 21670:3397666d32cf

memctx: remove __getitem__ since it is now inherited
author Sean Farley <sean.michael.farley@gmail.com>
date Thu, 15 Aug 2013 15:05:32 -0500
parents c0620ccc16ef
children b510de5cd5e9
files mercurial/context.py
diffstat 1 files changed, 0 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/context.py	Thu Aug 15 15:04:55 2013 -0500
+++ b/mercurial/context.py	Thu Aug 15 15:05:32 2013 -0500
@@ -1578,9 +1578,6 @@
             self._text = editor(self._repo, self, [])
             self._repo.savecommitmessage(self._text)
 
-    def __getitem__(self, key):
-        return self.filectx(key)
-
     def p1(self):
         return self._parents[0]
     def p2(self):