tests/testlib
author Anton Shestakov <av6@dwimlabs.net>
Wed, 07 Sep 2016 10:40:18 +0800
changeset 2010 8464a7708f9d
parent 1901 85390446f8c1
permissions -rw-r--r--
flake8: ignore N801 N801 is "class names should use CapWords convention" The message comes from a pep8 plugin "pep8-naming" which cares about naming conventions. If the plugin is installed, it is automatically used by pep8 and flake8.

#!/bin/sh

# This file holds logic that is used in many tests.
# It can be called in a test like this:
#  $ . "$TESTDIR/testlib"

# Enable obsolete markers and enable extensions
cat >> $HGRCPATH << EOF
[experimental]
evolution=createmarkers,exchange

[extensions]
rebase=
EOF
echo "topic=$(echo $(dirname $TESTDIR))/hgext3rd/topic" >> $HGRCPATH