tests/narrow-library.sh
author Pulkit Goyal <7895pulkit@gmail.com>
Thu, 31 Dec 2020 14:28:00 +0530
changeset 46229 52abb1af2995
parent 46027 d72378f93a44
child 47032 1d075b857c90
permissions -rw-r--r--
engine: prevent a function call for each store file Python function calls are not cheap. Instead of calling the function once for each file in store, we use a dedicated function which filters and yields the required files. Differential Revision: https://phab.mercurial-scm.org/D9673

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