Mercurial > hg-stable
changeset 19593:e3c241c89350
basefilectx: move date from filectx
author | Sean Farley <sean.michael.farley@gmail.com> |
---|---|
date | Sun, 11 Aug 2013 22:53:56 -0500 |
parents | 1cdb3b3df4df |
children | 1c030c24e196 |
files | mercurial/context.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/context.py Sun Aug 11 22:53:47 2013 -0500 +++ b/mercurial/context.py Sun Aug 11 22:53:56 2013 -0500 @@ -495,6 +495,8 @@ return self._changectx.hex() def user(self): return self._changectx.user() + def date(self): + return self._changectx.date() class filectx(basefilectx): """A filecontext object makes access to data related to a particular @@ -551,8 +553,6 @@ return filectx(self._repo, self._path, fileid=fileid, filelog=self._filelog) - def date(self): - return self._changectx.date() def files(self): return self._changectx.files() def description(self):