Mercurial > hg
comparison mercurial/node.py @ 18100:3a6ddacb7198
clfilter: add actual repo filtering mechanism
We add a `filtered` method on repo. This method return an instance of `repoview`
that behaves exactly as the original repository but with a filtered changelog
attribute. Filters are identified by a "name". Planned filter are `unserved`,
`hidden` and `mutable`. Filtering the repository in place what out of question
as it wont not allows multiple thread to share the same repo. It would makes
control of the filtering scope harder too. See the `repoview` docstring for
details.
A mechanism to compute filtered revision is also installed. Some caches will be
installed in later commit.
author | Pierre-Yves David <pierre-yves.david@ens-lyon.org> |
---|---|
date | Thu, 20 Dec 2012 15:32:42 +0100 |
parents | 25e572394f5c |
children | 1a5211f2f87f |
comparison
equal
deleted
inserted
replaced
18099:11748167a78e | 18100:3a6ddacb7198 |
---|