hg-git fails to push to gitlab mirror

5 views
Skip to first unread message

Benito van der Zander

unread,
Aug 25, 2017, 4:44:30 PM8/25/17
to GitLab
hi,
I push the commits from a project stored in Mercurial to Gitlab to create a mirror here.

It used to work fine, but since a while the pushing fails:

$ hg push  git+ssh://g...@gitlab.com:benito/videlibri.git
pushing to git+ssh://g...@gitlab.com:benito/videlibri.git
searching for changes
abort: pushing refs/heads/master overwrites 6e64247d85f8

(6e64247d85f8 is the newest local commit)

$ hg push -f git+ssh://g...@gitlab.com:benito/videlibri.git
pushing to git+ssh://g...@gitlab.com:benito/videlibri.git
searching for changes
adding objects
abort: git remote error: refs/tags/VIDELIBRI_1.866, refs/tags/VIDELIBRI_1.870, refs/tags/VIDELIBRI_1.873, refs/tags/VIDELIBRI_1.900, refs/tags/VIDELIBRI_1.905, refs/tags/VIDELIBRI_1.885, refs/tags/VIDELIBRI_1.887, refs/tags/VIDELIBRI_1.852, refs/tags/VIDELIBRI_1.850, refs/tags/Xidel_0.9.6, refs/heads/master, refs/tags/VIDELIBRI_1.860 failed to update

How do you fix that?

I use the same command to push to github and there is no issue. Hence I do not want to pull from gitlab, in case that breaks the github mirror

thanks
Reply all
Reply to author
Forward
0 new messages