tests/test-hghave.t
author Augie Fackler <durin42@gmail.com>
Mon, 25 Jul 2011 15:53:22 -0500
changeset 14963 c035f1c53e39
parent 12430 60738066e37a
child 25472 4d2b9b304ad0
permissions -rw-r--r--
subrepo: use safehasattr instead of hasattr Some of these instances could be rewritten as clever getattr(x, y, default) ladders, but that felt like it impeded readability too much to be worth the modest efficiency gain.

Testing that hghave does not crash when checking features

  $ "$TESTDIR/hghave" --test-features 2>/dev/null