$ git clone -n http://git.inferitos.ru/rpms/mercurial /var/lib/mock/inferit-10_0-extras-build-86958-158841/root/chroot_tmpdir/scmroot/mercurial Cloning into '/var/lib/mock/inferit-10_0-extras-build-86958-158841/root/chroot_tmpdir/scmroot/mercurial'... $ git fetch origin changed/i10ce/mercurial-6.8.1-3.el10:KOJI_FETCH_HEAD error: cannot update ref 'refs/heads/KOJI_FETCH_HEAD': trying to write non-commit object 232c3fbe223c792a8ac8c4a6b76b141e5ff2f850 to branch 'refs/heads/KOJI_FETCH_HEAD' From http://git.inferitos.ru/rpms/mercurial ! [new tag] changed/i10ce/mercurial-6.8.1-3.el10 -> KOJI_FETCH_HEAD (unable to update local ref) $ git reset --hard changed/i10ce/mercurial-6.8.1-3.el10 HEAD is now at e16992a import mercurial-6.8.1-3.el10