# HG changeset patch # User Kevin Bullock # Date 1462542084 18000 # Node ID 3879d02cd1cc5b86ab23a4280115bcf37375dd61 # Parent 8d5584d8345be23f98f702a421ce31b71882b4e6 subrepo: use unset instead of env -u to fix test on BSDs (issue5229) diff -r 8d5584d8345b -r 3879d02cd1cc tests/test-subrepo-git.t --- 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