I want to push from a bitbucket repository to another one.
The steps I did were these:
1. imported https://bitbucket.org/jeroenp/codingindelphi from https://bitbucket.org/NickHodges/codingindelphi (as I could not find the clone option)
2. Cloned https://bitbucket.org/jeroenp/codingindelphi to a local reposotiry using TortoiseHG.
3. Added some files, and locally committed using TortoiseHG.
4. Pushed the commit changes to https://bitbucket.org/jeroenp/codingindelphi using TortoiseHG.
Now I want to push the changes from https://bitbucket.org/jeroenp/codingindelphi back to https://bitbucket.org/NickHodges/codingindelphi but I can't find that option in the bitbucket UI anywhere.
How can I do that?
(I probably did something wrong, so if the above steps are not the right ones, please explain what I should have done to make the final push).
I'm going to write this up as an answer as the whole process of solving it might benfit others too.
To cut things short: it is not the solution, but the journey that usually the best teaching aid.
The answer will be edited over time to show the progression, and the points and reasons of failure.
After reading the documentation in the answer by Mary Anthony (thanks Mary!), I was hoping it was relatively straightforward to fix this, so I tried these steps, and they failed:
65ce5e8e2efb
& 000000000000
are unrelated. The second was is using Patch Queues (after reading the external documentation referenced from https://confluence.atlassian.com/display/BITBUCKET/Use+patch+queues). This appeared to difficult to do.
The third try is to locally work with patches. That also failed with a similar message: 0a23cca9cf3c
& 000000000000
are unrelated.
--jeroen
I created a new question from the error message in the final step: https://answers.atlassian.com/questions/191469/comparing-a-forked-bitbucket-repository-to-the-original-xxxxxxxxxxxx-000000000000-are-unrelated-why
That resulted in a great response by Atlassian with two support tickets.
In the end, the problem was that the source repository was empty, therefore had a nullid as first change-set. That resulted in the fork never to be able to be pushed/pulled back to the original.
Solution:
The two support tickets have goals to:
Thanks Marcus Bertrand for those!
https://bitbucket.org/mbertrand80
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Jeroen,
It sounds like you should have just
These steps are pretty much documented on this page.
Your commits don't look too heavy, you might be able to simply do the fork and replicate the changes manually.
Mary
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
When performing the compare step (right before the pull request), I get a message "0a23cca9cf3c
& 000000000000
are unrelated." so I asked a new question about that: https://answers.atlassian.com/questions/191469/comparing-a-forked-bitbucket-repository-to-the-original-xxxxxxxxxxxx-000000000000-are-unrelated
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.