tests/test-notfound
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
Sat, 28 Oct 2006 20:21:52 -0300
changeset 3571 736a78469a85
parent 910 891b6a262c4b
permissions -rwxr-xr-x
log speedup: walkchangerevs: filter the files only if we need them This speeds up hg log and significantly reduces memory usage (max RSS goes from ~92MB to ~21MB on the kernel repo), since we no longer store all the revisions in the cache.

#!/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