Mercurial > hg
view hgext/__init__.py @ 22592:ff3ccc592af4
files: use ctx.matches instead of ctx.walk
ctx.matches() is an optimized form of ctx.walk() when we don't care about the
state of files on disk.
For a large repo, 'hg files > /dev/null' drops from 3.7 seconds to 2.3.
author | Siddharth Agarwal <sid0@fb.com> |
---|---|
date | Tue, 30 Sep 2014 14:39:58 -0700 |
parents | 7d439981bec4 |
children | 155e3308289c |