$ git clone -n https://gitee.com/src-anolis-os/mercurial.git /var/lib/mock/dist-an8.6-build-161840-58619/root/chroot_tmpdir/scmroot/mercurial Cloning into '/var/lib/mock/dist-an8.6-build-161840-58619/root/chroot_tmpdir/scmroot/mercurial'... $ git reset --hard origin/a8-mercurial-stream-4.8 HEAD is now at 6e883da import mercurial-4.8.2-1.module+el8+2647+365c7305.src.rpm