Mercurial > public > mercurial-scm > hg
comparison mercurial/context.py @ 21684:dcdd7f41898d
memctx: remove branch since it is now inherited
author | Sean Farley <sean.michael.farley@gmail.com> |
---|---|
date | Thu, 15 Aug 2013 15:14:47 -0500 |
parents | 9dbdbc7645c1 |
children | 428af94bbccd |
comparison
equal
deleted
inserted
replaced
21683:9dbdbc7645c1 | 21684:dcdd7f41898d |
---|---|
1576 | 1576 |
1577 if editor: | 1577 if editor: |
1578 self._text = editor(self._repo, self, []) | 1578 self._text = editor(self._repo, self, []) |
1579 self._repo.savecommitmessage(self._text) | 1579 self._repo.savecommitmessage(self._text) |
1580 | 1580 |
1581 def branch(self): | |
1582 return encoding.tolocal(self._extra['branch']) | |
1583 def extra(self): | 1581 def extra(self): |
1584 return self._extra | 1582 return self._extra |
1585 def flags(self, f): | 1583 def flags(self, f): |
1586 return self[f].flags() | 1584 return self[f].flags() |
1587 | 1585 |