[PATCH 1 of 2] subrepo: use unset instead of env -u to fix test on BSDs (issue5229)

Kevin Bullock kbullock+mercurial at ringworld.org
Fri May 6 11:59:29 EDT 2016


> On May 6, 2016, at 10:36, timeless <timeless at gmail.com> wrote:
> 
> https://www.gnu.org/software/autoconf/manual/autoconf-2.61/html_node/Limitations-of-Builtins.html#Limitations-of-Builtins
> 
> The correct approach is to do construct a subsetted env and use env -i.

It looks like that's only an issue with really ancient shells (Bash 2, others unspecified). I'm inclined to say we don't care if someone sees a failure running the test suite on FreeBSD 4 or something.

pacem in terris / мир / शान्ति / ‎‫سَلاَم‬ / 平和
Kevin R. Bullock



More information about the Mercurial-devel mailing list