Mercurial > hg
diff tests/test-subrepo-git.t @ 29135:3879d02cd1cc
subrepo: use unset instead of env -u to fix test on BSDs (issue5229)
author | Kevin Bullock <kbullock+mercurial@ringworld.org> |
---|---|
date | Fri, 06 May 2016 08:41:24 -0500 |
parents | ce01b4810aef |
children | 60621cecc8c5 |
line wrap: on
line diff
--- 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