tests/narrow-library.sh
author Yuya Nishihara <yuya@tcha.org>
Fri, 16 Mar 2018 22:36:40 +0900
changeset 37070 04aafcec00b9
parent 36195 2405ca783672
child 40900 bcf70058af90
permissions -rw-r--r--
templater: add context.preload(t) to test if the specified template exists I'm going to remove 'templ' from the resources dict because it is the only resource that the caller can't provide. This also implies that putting 'templ' into the resources dict creates a reference cycle. context.preload(t) will be used in place of templater.__contains__().

cat >> $HGRCPATH <<EOF
[extensions]
narrow=
[ui]
ssh=python "$TESTDIR/dummyssh"
[experimental]
changegroup3 = True
EOF