tests/test-hghave.t
author Yuya Nishihara <yuya@tcha.org>
Sat, 14 Mar 2015 19:38:59 +0900
changeset 24582 56fff44cce98
parent 12430 60738066e37a
child 25472 4d2b9b304ad0
permissions -rw-r--r--
scmutil: add function to help handling workingctx in arithmetic operation It's unfortunate that workingctx revision is None, which doesn't work well in arithmetic operation or comparison. This function is trivial but will be used in several places.

Testing that hghave does not crash when checking features

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