Mercurial > hg > mercurial-crew-with-dirclash
view tests/test-undo.out @ 812:b65af904d6d7
Reduce the amount of stat traffic generated by a walk.
When we switched to the new walk code for commands, we no longer passed a
list of specific files to the repo or dirstate walk or changes methods.
This meant that we always walked and attempted to match everything,
which was not efficient.
Now, if we are given any patterns to match, or nothing at all, we still
walk everything. But if we are given only file names that contain no
glob characters, we only walk those.
author | Bryan O'Sullivan <bos@serpentine.com> |
---|---|
date | Fri, 29 Jul 2005 12:30:12 -0800 |
parents | 853bfbf1a312 |
children | 445970ccf57a 8f5637f0a0c0 0902ffece4b4 |
line wrap: on
line source
+ mkdir t + cd t + hg init + echo a + hg add a + hg commit -m test -d '0 0' + hg verify checking changesets checking manifests crosschecking files in changesets and manifests checking files 1 files, 1 changesets, 1 total revisions + hg parents changeset: 0:acb14030fe0a tag: tip user: test date: Thu Jan 1 00:00:00 1970 summary: test + hg status + hg undo rolling back last transaction + hg verify checking changesets checking manifests crosschecking files in changesets and manifests checking files 0 files, 0 changesets, 0 total revisions + hg parents + hg status A a