$ git clone -n https://gitee.com/opencloudos-stream/mercurial.git /var/lib/mock/dist-ocs23-build-93349-5984/root/chroot_tmpdir/scmroot/mercurial Cloning into '/var/lib/mock/dist-ocs23-build-93349-5984/root/chroot_tmpdir/scmroot/mercurial'... $ git fetch origin HEAD:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/mercurial * [new ref] HEAD -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 7c2b649 Rebuilt for python 3.11