$ git clone -n https://gitee.com/src-anolis-os/mercurial.git /mnt/mock/kojid//dist-an23.3-riscv-build-437723-73130/root/chroot_tmpdir/scmroot/mercurial Cloning into '/mnt/mock/kojid//dist-an23.3-riscv-build-437723-73130/root/chroot_tmpdir/scmroot/mercurial'... $ git fetch origin 1f384b4c56249725fa8e36f8881a515ec20301b1:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/mercurial * [new ref] 1f384b4c56249725fa8e36f8881a515ec20301b1 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 1f384b4 Rebuild with python3.11