memctx: remove p1 since it is now inherited
authorSean Farley <sean.michael.farley@gmail.com>
Thu, 15 Aug 2013 15:06:10 -0500
changeset 21671 b510de5cd5e9
parent 21670 3397666d32cf
child 21672 a428fb04128d
memctx: remove p1 since it is now inherited
mercurial/context.py
--- a/mercurial/context.py	Thu Aug 15 15:05:32 2013 -0500
+++ b/mercurial/context.py	Thu Aug 15 15:06:10 2013 -0500
@@ -1578,8 +1578,6 @@
             self._text = editor(self._repo, self, [])
             self._repo.savecommitmessage(self._text)
 
-    def p1(self):
-        return self._parents[0]
     def p2(self):
         return self._parents[1]