I have merged two repositories together with the mqextension, giving me a repository that looks like this:
.. [a] --- [b] --- [c] --- [d]<- default branch
/
[x] --- [y] <- feature branch
The problem is that when I try to push this I get:
hg push --new-branch
abort: push creates new remote head x!
(did you forget to merge? use push -f to force)
How can I fix this? I assume I need to merge [a] with [x] so that I have a common ancestor. Is this possible? would I cause issues if I just forced the push?
EDIT - After a little more research I found I was trying to simplify the repository a little too much.. the repository looks like this:
.. [a] --- [b] --- [c] --- [d]<- default branch
\
[f] --- [g] --- [z] <- integration branch
/
[x] --- [y] <- feature branch
/
[w] <- default branch from old repository.
I think what is happening is that I have two heads for the default branch and hg doesn't want to push both of them to master.
Should I merge the two defaults together?