bundle-spec: properly format boolean parameter (issue6960)
This was breaking automatic clone bundle generation. This changeset fixes it and
add a test to catch it in the future.
from __future__ import annotationsimport hashlibtry: from ..thirdparty import sha1dc # pytype: disable=import-error sha1 = sha1dc.sha1except (ImportError, AttributeError): sha1 = hashlib.sha1