Mercurial > hg
changeset 21676:69579b78989d
memctx: remove files since it is now inherited
This is a slight change in definition from memctx returning only modified() but
its parent's definition is more consistent with other contexts' behavior so we
can call this change a slight bugfix and step in the right direction.
author | Sean Farley <sean.michael.farley@gmail.com> |
---|---|
date | Thu, 15 Aug 2013 15:12:19 -0500 |
parents | 110e35f630fa |
children | 2e4d30cfef12 |
files | mercurial/context.py |
diffstat | 1 files changed, 0 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/context.py Thu Aug 15 15:07:43 2013 -0500 +++ b/mercurial/context.py Thu Aug 15 15:12:19 2013 -0500 @@ -1578,8 +1578,6 @@ self._text = editor(self._repo, self, []) self._repo.savecommitmessage(self._text) - def files(self): - return self.modified() def modified(self): return self._status[0] def added(self):