Mercurial > public > mercurial-scm > hg-stable
diff mercurial/context.py @ 16377:f8ce254e514f
context: use rev for changelog lookup
Faster when we're doing numeric scanning
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Sun, 08 Apr 2012 12:38:08 -0500 |
parents | d3908c911d5e |
children | 80b3d574881f |
line wrap: on
line diff
--- a/mercurial/context.py Sun Apr 08 12:38:07 2012 -0500 +++ b/mercurial/context.py Sun Apr 08 12:38:08 2012 -0500 @@ -129,7 +129,7 @@ @propertycache def _changeset(self): - return self._repo.changelog.read(self.node()) + return self._repo.changelog.read(self.rev()) @propertycache def _manifest(self):