Mercurial > hg
comparison tests/test-diffdir.t @ 18306:06185554e7e3
changelog: add a `branch` method, bypassing changectx
The only way to access the branch of a changeset is currently to
create a changectx object and access its `branch()` method. Creating
a new Python object is costly and has a huge impact on code doing
heavy access to `branch()` (like branchmap).
This change introduces a new method on changelog that allows direct
access to the branch of a revision. See the next changeset for impact.
author | Pierre-Yves David <pierre-yves.david@ens-lyon.org> |
---|---|
date | Thu, 10 Jan 2013 00:41:40 +0100 |
parents | 2063d36b406e |
children | 29c8e35d3283 |
comparison
equal
deleted
inserted
replaced
18305:2502a15e033d | 18306:06185554e7e3 |
---|