Mercurial > public > mercurial-scm > hg-stable
diff mercurial/context.py @ 2566:d8560b458f76
Convert hg annotate to context api
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Wed, 28 Jun 2006 17:42:17 -0500 |
parents | 482c524dd9ab |
children | b779319a532b |
line wrap: on
line diff
--- a/mercurial/context.py Wed Jun 28 17:11:42 2006 -0500 +++ b/mercurial/context.py Wed Jun 28 17:42:17 2006 -0500 @@ -119,3 +119,6 @@ # hard for renames c = self._filelog.children(self._filenode) return [ filectx(self._repo, self._path, fileid=x) for x in c ] + + def annotate(self): + return self._filelog.annotate(self._filenode)