[PATCH] revset: use "repo.changelog" instead of "list(repo)" for resource efficiency

Kevin Bullock kbullock+mercurial at ringworld.org
Tue Feb 19 13:31:54 CST 2013


On Feb 19, 2013, at 1:08 PM, Dirkjan Ochtman wrote:

> On Sun, Feb 17, 2013 at 5:08 PM, FUJIWARA Katsunori
> <foozy at lares.dti.ne.jp> wrote:
>> # HG changeset patch
>> # User FUJIWARA Katsunori <foozy at lares.dti.ne.jp>
>> # Date 1361115858 -32400
>> # Node ID 06fb2582618f43400b38ac4c791410d2fc748d2c
>> # Parent  f12804d3ff801b989cb2aab1aad93047a8db46f1
>> revset: use "repo.changelog" instead of "list(repo)" for resource efficiency
> 
> Doesn't that kill the filtering? IIRC Pierre-Yves was moving in the
> other direction on these kinds of things.

Nope, repo.changelog is filtered on a filtered repo object.

pacem in terris / мир / शान्ति / ‎‫سَلاَم‬ / 平和
Kevin R. Bullock



More information about the Mercurial-devel mailing list