mercurial/context.py
changeset 21672 a428fb04128d
parent 21671 b510de5cd5e9
child 21673 dd4d6a449bf6
equal deleted inserted replaced
21671:b510de5cd5e9 21672:a428fb04128d
  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 p2(self):
       
  1582         return self._parents[1]
       
  1583 
       
  1584     def user(self):
  1581     def user(self):
  1585         return self._user or self._repo.ui.username()
  1582         return self._user or self._repo.ui.username()
  1586     def date(self):
  1583     def date(self):
  1587         return self._date
  1584         return self._date
  1588     def description(self):
  1585     def description(self):