sapling/tests/helpers-usechg.sh

8 lines
168 B
Bash
Raw Normal View History

# Make the test use chg if possible
if [ -x "$RUNTESTDIR/../contrib/chg/chg" ] && [ -z "$CHGHG" ]; then
CHGHG="${HG:-hg}"
export CHGHG
alias hg="${CHG:-chg}"
fi