# HG changeset patch # User Sean Farley # Date 1376597539 18000 # Node ID 69579b78989d7d1e6c3e4b8b7109fcf0d393f5f6 # Parent 110e35f630fa1c3dab0b973213e1aa09884a08e9 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. diff -r 110e35f630fa -r 69579b78989d mercurial/context.py --- 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):