Mercurial > hg
changeset 19590:90994b176bc1
basefilectx: move node from filectx
author | Sean Farley <sean.michael.farley@gmail.com> |
---|---|
date | Sun, 11 Aug 2013 22:51:53 -0500 |
parents | 6a9043fa06d0 |
children | 04fbc85f870a |
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:51:41 2013 -0500 +++ b/mercurial/context.py Sun Aug 11 22:51:53 2013 -0500 @@ -489,6 +489,8 @@ return self._changeid def linkrev(self): return self._filelog.linkrev(self._filerev) + def node(self): + return self._changectx.node() class filectx(basefilectx): """A filecontext object makes access to data related to a particular @@ -545,8 +547,6 @@ return filectx(self._repo, self._path, fileid=fileid, filelog=self._filelog) - def node(self): - return self._changectx.node() def hex(self): return hex(self.node()) def user(self):