Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

Fork sync button disappeared

Hi. I have a mercurial repo https://bitbucket.org/Jahndal/cegui which is a fork of https://bitbucket.org/cegui/cegui . A couple of weeks ago I synced my fork with an upstream via the button in 'Repository details' window. But now I can't find this button or even an article where it was described.

I've tried to follow instructions from https://confluence.atlassian.com/bitbucketserver/keeping-forks-synchronized-776639961.html but it seems I have no 'Settings > Fork syncing' section nor 'Synchronize' button.

How can I sync my fork with upstream now? Thanks in advance.

2 answers

1 accepted

0 votes
Answer accepted
Tyler T Atlassian Team Feb 27, 2019

Are the repositories out of sync? The button only appears when they are out of sync.

Yes, they are. Upstream has commits into 'default' that my fork has no. In a case I'm mistaking I provided repo URLs (both public), so you can check it directly.

Like shubhamgupta123 likes this
Tyler T Atlassian Team Feb 28, 2019

Ok. The 'sync' button might not be appearing because v0-8 is set as the main branch for both repos and those branches are in sync.

Screen Shot 2019-02-28 at 8.56.44 AM.png

However, you can use the Compare View to compare and sync different branches and tags: https://bitbucket.org/Jahndal/cegui/branches/compare/cegui/cegui:default%0DJahndal/cegui:default#diff

You should see a 'Create pull request' and 'Merge' buttons in the upper-right corner of the screen.

Thanks, this may help. Anyway this is very misleading. "Fork Sync" must synchronize fork repo with upsream repo, isn't it? This is the expected and the most useful behaviour. The entire repo was forked after all. If user wants to synchronize only main branches there must be a button 'Sync main branch'.

Like shubhamgupta123 likes this

What defines "out of sync"? I've got a forked copy of a repository. I manage both... the upstream and the forked copy. Any branches that existed at the moment of forking seem to work fine. Changes are detected and the "Sync" option appears. But any new branches at the upstream do not appear as changes in the forked copy. What am I missing? How can I make the fork aware of new branches at the upstream?

0 votes

Hello Vladimir,

Thank you for describing your problem of the mysterious missing sync button.

There may be a simple solution for your issue. You may have received a beta update that has removed the “Fork Syncing” button. To disable the opt-in beta, follow these steps:

  1. WIthin Bitbucket, select your avatar in the bottom left and click Bitbucket Labs
  2. Within this page, you should see all items listed un Labs.
  3. Anything with the Green Slider with a Check means Beta is enabled.
  4. To disable any of these, simply click on the slider.

Please try the above to see if this brings back your “Fork Sync” button that has gone missing.
Regards,
Stephen Sifers

Hello. I disabled beta features but it didn't fix the issue. Old GUI is missing the button too.

Like # people like this

Suggest an answer

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

Powering DevOps with Bitbucket Server & Data Center

Hi everyone, The Cloud team recently announced 12 new DevOps features that help developers ship better code, faster   ! While we’re all excited about the new improvements to Bitbucket ...

1,849 views 0 7
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