# HG changeset patch # User Sean Farley # Date 1376279464 18000 # Node ID 43f9ed2f64b1f1aeec1c61e803bb76496df216d4 # Parent 8e553cd6071ea2526887b86cb3ddb82faa84a4f8 basefilectx: move flags from filectx diff -r 8e553cd6071e -r 43f9ed2f64b1 mercurial/context.py --- a/mercurial/context.py Sun Aug 11 22:50:37 2013 -0500 +++ b/mercurial/context.py Sun Aug 11 22:51:04 2013 -0500 @@ -481,6 +481,8 @@ return self._filerev def filenode(self): return self._filenode + def flags(self): + return self._changectx.flags(self._path) class filectx(basefilectx): """A filecontext object makes access to data related to a particular @@ -537,8 +539,6 @@ return filectx(self._repo, self._path, fileid=fileid, filelog=self._filelog) - def flags(self): - return self._changectx.flags(self._path) def filelog(self): return self._filelog def rev(self):