tests/narrow-library.sh
author Augie Fackler <augie@google.com>
Fri, 27 Apr 2018 11:06:49 -0400
changeset 37942 2ae6a3134362
parent 36195 2405ca783672
child 40900 bcf70058af90
permissions -rw-r--r--
cborutil: port to Python 3 The only problem lurking in here was sorts of mismatched types. The sorts are only for output stability in our tests (sigh), so we just build a phony sort key using the __name__ of types so that we only compare like types against each other. By pure luck, my awful sort key matches the behavior we get "for free" in Python 2, so no test output changes. Differential Revision: https://phab.mercurial-scm.org/D3504

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