[PATCH 1 of 4 py3 V2] tests: clean up bad extension

Gregory Szorc gregory.szorc at gmail.com
Mon Mar 13 20:08:49 UTC 2017


# HG changeset patch
# User Gregory Szorc <gregory.szorc at gmail.com>
# Date 1489435691 25200
#      Mon Mar 13 13:08:11 2017 -0700
# Node ID 62df9a5359ff0ad365b7240f4d34fb4403ebcf31
# Parent  1c48a8278b2f015fca607dfc652823560a5ac580
tests: clean up bad extension

The presence of the "babar" extension breaks subsequent tests.
So delete the file and create an empty one to return the config
to sanity.

diff --git a/tests/test-check-py3-commands.t b/tests/test-check-py3-commands.t
--- a/tests/test-check-py3-commands.t
+++ b/tests/test-check-py3-commands.t
@@ -65,6 +65,9 @@ out some potential warnings that come fr
   *** failed to import extension babar from imaginary_elephant: *: 'imaginary_elephant' (glob)
   warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 
+  $ rm included-hgrc
+  $ touch included-hgrc
+
 Test bytes-ness of policy.policy with HGMODULEPOLICY
 
   $ HGMODULEPOLICY=py


More information about the Mercurial-devel mailing list