Mercurial > hg-stable
view tests/test-notfound @ 4993:4205f626dc05
lazyindex: speed up __getitem__
This function is fairly performance sensitive, so we make a couple
ugly tweaks:
- keep all entries packed so we needn't test entry types
- fold index lookup/load into unpack call to eliminate
local variable setting
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Mon, 23 Jul 2007 20:44:08 -0500 |
parents | 891b6a262c4b |
children |
line wrap: on
line source
#!/bin/sh hg init echo "Is there an error message when trying to diff non-existing files?" hg diff not found echo "Is there an error message when trying to add non-existing files?" hg add not found