Reputation: 2527
I aborted a merge with a merge conflict when I realised that I had to push a new branch. So I tried
hg push --new-branch
but it says push creates new head. hg strip says abort: empty revision set. So I'm not sure what to do
Upvotes: 1
Views: 2717
Reputation: 97282
hg push --new-branch
allow push to create new named branch in remote repository (which was present only locally).
According to error, you tried to merge 2 heads on the same named branch (have anonymous branching), and not committed mergeset means: "you still have multi-head branch" (check hg heads
output), pushing of which is prohibited by default.
Upvotes: 3