It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Really needed two heads in two distinguished branches

We have this situation on TortoiseHg and Bitbucket where it is stored the shared repository:

https://www.dropbox.com/s/35w7npwdzmmx128/deve1%20dev2%20clients.jpg?dl=0

The merge between the job of dev1 and dev2 shall be done by dev1; but dev1 cannot see the job of dev2 because the latest cannot push his job on the bitbucket repository since he is stopped by HG with this reason "abort: push creates new remote head 2221daef6518 on branch 'Federico Development'"

I fear that problem has been originated by one commit by dev2, the one that is marked in the picture with the 2 red circles: he committed on federico branch locally while federico was also working and committing on the same branch.

Whatever was the original cause of the problem, we would like to let the dev2 to push to the shared repository his work as a different branch head with respect to dev1 so that dev1 can pull the dev2 job and merge the two heads. Is it possible any workaround to get this result?

Secondarily, we would like to understand the origin of the problem for a better understanding and to prevent it in the future:

  1. is it true that the problem has been originated by the commit of dev2 ono dev1 branch?
  2. why HG still stops even if after that unlucky commit dev2 has changed the branch with a second commit?
  3. is there any way to assign to every user a specific branch or, in other words, to deny the commit access on a specific branch to some users?

0 answers

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket

Atlassian supported Jenkins integration for Bitbucket Server

We’ve been building a plugin to integrate Bitbucket Server and Jenkins CI, and I’m excited to announce that our alpha is ready to download and install. It lets you seamlessly configure a Jenkins job ...

398 views 0 9
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you