comparison mercurial/context.py @ 21673:dd4d6a449bf6

memctx: remove user since it is now inherited
author Sean Farley <sean.michael.farley@gmail.com>
date Thu, 15 Aug 2013 15:07:01 -0500
parents a428fb04128d
children c80ce9fa477e
comparison
equal deleted inserted replaced
21672:a428fb04128d 21673:dd4d6a449bf6
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 user(self):
1582 return self._user or self._repo.ui.username()
1583 def date(self): 1581 def date(self):
1584 return self._date 1582 return self._date
1585 def description(self): 1583 def description(self):
1586 return self._text 1584 return self._text
1587 def files(self): 1585 def files(self):