Mercurial > hg-stable
changeset 19678:897c2dbc0256
commitablectx: move description from workingctx
author | Sean Farley <sean.michael.farley@gmail.com> |
---|---|
date | Wed, 14 Aug 2013 16:09:30 -0500 |
parents | e11415510352 |
children | f21804f1582e |
files | mercurial/context.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/context.py Wed Aug 14 16:03:32 2013 -0500 +++ b/mercurial/context.py Wed Aug 14 16:09:30 2013 -0500 @@ -965,6 +965,8 @@ return self._user or self._repo.ui.username() def date(self): return self._date + def description(self): + return self._text class workingctx(commitablectx): """A workingctx object makes access to data related to @@ -992,8 +994,6 @@ p = p[:-1] return [changectx(self._repo, x) for x in p] - def description(self): - return self._text def files(self): return sorted(self._status[0] + self._status[1] + self._status[2])