Skip to content

Bug 40006: Add option to avoid doing a git checkout when using the exec template function

boklm requested to merge boklm/rbm:bug_40006 into main

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 in git_clones/conjure and checked that computing torbrowser filename (with the command from above) did not change HEAD commit in git_clones/conjure with the patch but changes it without the patch

Closes #40006 (closed)

Merge request reports

Loading