push problem: abort: pushing refs/heads/hg overwrites c9fde345a779
Created originally on Bitbucket by sandroden (Alessandro Dentella)
Hi,
I just created a git repo as described in the docs: git init and in the original mercurial repo "hg boomark hg" and a push from mercurial. I ended up with a git with 2branches: master and 'hg'. I set this as default in hgrc.
Now I'm trying to push a commit from hg:
#!text
$ hg out
comparing with git+ssh://git@github.com/xxx/yyy-fnd.git
searching for changes
changeset: 204:c9fde345a779
bookmark: hg
user: sandro
date: Tue Sep 04 23:30:42 2018 +0200
summary: Aggiunto README per hg-git
It seems ok but the i try to push:
#!text
$ hg push
pushing to git+ssh://git@github.com/xxx/yyy-fnd.git
searching for changes
abort: pushing refs/heads/hg overwrites c9fde345a779
Am I doing somethig wrong? Whe I 'hg pull", will it pull all branches?
Thanks in advance