Mercurial > hg
changeset 19585:8e553cd6071e
basefilectx: move filenode from filectx
author | Sean Farley <sean.michael.farley@gmail.com> |
---|---|
date | Sun, 11 Aug 2013 22:50:37 -0500 |
parents | fe300e63c28c |
children | 43f9ed2f64b1 |
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:50:15 2013 -0500 +++ b/mercurial/context.py Sun Aug 11 22:50:37 2013 -0500 @@ -479,6 +479,8 @@ def filerev(self): return self._filerev + def filenode(self): + return self._filenode class filectx(basefilectx): """A filecontext object makes access to data related to a particular @@ -535,8 +537,6 @@ return filectx(self._repo, self._path, fileid=fileid, filelog=self._filelog) - def filenode(self): - return self._filenode def flags(self): return self._changectx.flags(self._path) def filelog(self):