memctx: remove branch since it is now inherited
authorSean Farley <sean.michael.farley@gmail.com>
Thu, 15 Aug 2013 15:14:47 -0500
changeset 21684 dcdd7f41898d
parent 21683 9dbdbc7645c1
child 21685 428af94bbccd
memctx: remove branch since it is now inherited
mercurial/context.py
--- a/mercurial/context.py	Wed May 28 20:03:38 2014 -0500
+++ b/mercurial/context.py	Thu Aug 15 15:14:47 2013 -0500
@@ -1578,8 +1578,6 @@
             self._text = editor(self._repo, self, [])
             self._repo.savecommitmessage(self._text)
 
-    def branch(self):
-        return encoding.tolocal(self._extra['branch'])
     def extra(self):
         return self._extra
     def flags(self, f):