changeset 1083:6a0626959edb

compat: re-enable git subrepositories disabled in 4.4.1 Git subrepository are disabled by default in in 4.4.1. We re-enabled them for the tests to prevent multiple failures.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Mon, 20 Nov 2017 17:12:20 +0100
parents b6cdf7be4059
children 93d3f8cf9657
files tests/testutil
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/tests/testutil	Sat Nov 25 12:09:34 2017 -0600
+++ b/tests/testutil	Mon Nov 20 17:12:20 2017 +0100
@@ -16,6 +16,10 @@
 echo 'shelve = --date "0 0"\n' >> $HGRCPATH
 echo 'tag = -d "0 0"\n' >> $HGRCPATH
 
+# Enable git subrepository for hg >= 4.4.1
+echo '[subrepos]' >> $HGRCPATH
+echo 'git:allowed = yes' >> $HGRCPATH
+
 # Standard checks for external dependencies
 # We use the git command-line client and dulwich in pretty much all the tests.
 # Thus, to avoid repetitively declaring that requirement in almost every test,