# HG changeset patch # User Matt Mackall # Date 1333906688 18000 # Node ID f8ce254e514fd432eccb979d0ead6a4534c47f63 # Parent d3908c911d5e8c0aec0b46f7f74fc90f5020d062 context: use rev for changelog lookup Faster when we're doing numeric scanning diff -r d3908c911d5e -r f8ce254e514f mercurial/context.py --- 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):