subrepo: use unset instead of env -u to fix test on BSDs (
issue5229)
--- a/tests/test-subrepo-git.t Wed May 04 20:11:59 2016 +0100
+++ b/tests/test-subrepo-git.t Fri May 06 08:41:24 2016 -0500
@@ -1145,7 +1145,8 @@
$ hg add .hgsub
$ hg commit -m "add subrepo"
$ cd ..
- $ env -u GIT_ALLOW_PROTOCOL hg clone malicious-subrepository malicious-subrepository-protected
+ $ unset GIT_ALLOW_PROTOCOL
+ $ hg clone malicious-subrepository malicious-subrepository-protected
Cloning into '$TESTTMP/tc/malicious-subrepository-protected/s'... (glob)
fatal: transport 'ext' not allowed
updating to branch default