$ git clone -n https://src.fedoraproject.org/rpms/mercurial.git /var/lib/mock/f37-build-676399-76089/root/chroot_tmpdir/scmroot/mercurial Cloning into '/var/lib/mock/f37-build-676399-76089/root/chroot_tmpdir/scmroot/mercurial'... $ git reset --hard d36fab1f31b73a3e57575d6b3e8a8e2641eff54f HEAD is now at d36fab1 mercurial 6.2.3