$ git clone -n https://src.fedoraproject.org/rpms/mercurial.git /var/lib/mock/f33-build-230645-50174/root/chroot_tmpdir/scmroot/mercurial Cloning into '/var/lib/mock/f33-build-230645-50174/root/chroot_tmpdir/scmroot/mercurial'... $ git reset --hard 3c5ba1d992828470b37c575ff8d2d135fe73b0d5 HEAD is now at 3c5ba1d update to 5.4