view tests/README @ 24162:758dd85b6ad6

test-obsolete: use 'log -T {node}' instead of 'id --debug -i' to lookup hash I ran into a case when adding a test where there were cryptic hg command line errors. I eventually traced it back to 'hg id' printing debug messages before the hash: invalid branchheads cache (served): tip differs <hash> This method should eliminate any other output except the node.
author Matt Harbison <matt_harbison@yahoo.com>
date Sat, 28 Feb 2015 01:12:54 -0500
parents 1de6e7e1bb9f
children 4b0fc75f9403
line wrap: on
line source

To run the tests, do:

cd tests/
python run-tests.py

See http://mercurial.selenic.com/wiki/WritingTests for
more information on writing tests.