Bug 40006: Add option to avoid doing a git checkout when using the exec template function
The exec_noco
option can be used to disable git or hg checkout when
using the exec template function.
We start using this option in the abbrev
and timestamp
options,
which are running git and hg commands which don't need a checkout.
I tested this patch doing the following:
- doing a torbrowser build for linux-x86_64 with this patch
- checking that the output from
./rbm/rbm showconf browser filename --target torbrowser-linux-x86_64 --target release
is the same with and without the patch - did a random
git checkout
ingit_clones/conjure
and checked that computing torbrowser filename (with the command from above) did not change HEAD commit ingit_clones/conjure
with the patch but changes it without the patch
Closes #40006 (closed)