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

What to do with your Mercurial repos when Bitbucket sunsets support

531 comments

Zoltán Lehóczky
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 21, 2019

We're using Mercurial at our team primarily, and have been on Bitbucket for the last six years as a company, so this is a huge letdown. Not to mention it comes within a year of the same happening with HipChat...

However, if you want help moving to Git (which we might end up doing after advocating Mercurial for years...) check out this: https://lombiq.com/bitbucket-mercurial-to-git-migration We have some free and open source tools for converting repos or otherwise you can hire us to do the whole migration and train your team.

Like # people like this
Alex Bream
Contributor
August 21, 2019

@[deleted] - automatic conversion from  .hgignore to .gitignore just not possible at all, as noted on SO

Like Deleted user likes this
Oliver Oertel
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 21, 2019

As paying customer I at least expect that Atlassian will introduce a one-click-conversion function from hq to git AND autoconvert all remaining hq repositories automatically instead of deleting them after the final deadline. 

Like # people like this
Jay
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 21, 2019

While I'm sad to see a beloved version control system go, I'm excited to see what Bitbucket will be in the future. Now that features don't have to work with both git and hg, I'm hoping new features will feel more natural (natural for git anyway). It sounds like this will also accelerate development of new features which is :awesome:

sirgazil
Contributor
August 21, 2019

@[deleted]There is the Issues import/export feature (Settings → Issues → Import & export), which you can use to move your issues between Bitbucket repositories. The Import/Export data format is documented, so maybe people migrating to other services can export their issues, and eventually find a way to convert them to the required issue import format used in the services they choose.

Also, for people who want to keep using the same URL path their mercurial-based repositories currently have in Bitbucket, I think it is possible to

  1. back up your project source, issues and wiki.
  2. delete the repository.
  3. create a new git repository with the same name of the repository you deleted.
  4. Push your source and import your issues.

I'm glad I started moving from Bitbucket at the beginning of this year.

I think this is a good time to think about how to make self-hosting easier for everyone...

Like # people like this
devzendo
Contributor
August 22, 2019

Thank you, Atlassian & Bitbucket for hosting my open source and private repos in Mercurial for several years.  When Google Code annouced it was closing down, I had to move from Subversion, and after some research decided Mercurial was definitely the better system to choose. Git was flaky, and still is - and has a user interface only its creators could like. Due to your support for the , you were the obvious choice for hosting.

I hope the sentiment expressed in this forum gives you an idea of the overwhelming need we have for a well-supported hosting option for Mercurial. We're not all saying "oh well, git won, let's roll over and convert". I'd take that Stack Overflow survey with a pinch of salt; don't forget SO is a place people go to find answers to problems... you're more likely to get answers from people having problems. That huge % of git users... is indicative of the huge pain in the *** that git is. Mercurial's easier, so fewer people query on SO. It's survivorship bias.

This is a terrible decision from an archival perspective - @philipstarkey said it well above: the public repos should be hosted in read-only form, indefinitely. This is source code we're talking about. Not just some unimportant drivel that can be thrown away without consequence. Software is eating the world, and you're about to destroy quite a lot of it. You have an element of social responsibility here. I make use of a large amount of open source software, and frequently have to go in search of it via the wayback machine. Don't let this code be unavailable, without an archive form, please.

Like # people like this
paulsmirnov
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 22, 2019

Speaking about industry standards, would Atlassian consider removing Bitbucket support and migrating to GitHub? :-P Why would I choose Bitbucket hosting if not for Mercurial support? Please provide a list of pros for us to consider.

Like # people like this
Nicolas Carrier
Contributor
August 22, 2019

This is a terrible move from Atlassian.

The message basically is, that even if you're a paying customer, the code (and all the associated data) that you entrust to Atlassian doesn't have a guaranteed life expectancy of more than 1 year.

Of course it is possible to convert repositories, at the expense of a lot of manual work (I'm soooo happy to have to migrate 100+ repos by hand...).

But some things will be lost (list not exhaustive):

  • Metadata history (issues, their link to Jira tickets, discussions...)
  • Build reproductibility of old software versions whose build system relied on hg how can we provide long term support to our customers?

The only solution to this issue is to provide a read-only access to mercurial repositories for several years after the shutdown (5 years would be a strict minimum, 10 would be more realistic).

If Atlassian doesn't at least do that, it will completely break my confidence in the company and I will push as hard as I can to shift away from their products.

Like # people like this
pgk
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 22, 2019

Sad news: +1 for read-only access to existing repos.

Like # people like this
kerogos
Contributor
August 22, 2019

Hi,

I'd like to remember Atlassian article from 2012 (https://www.atlassian.com/blog/software-teams/mercurial-vs-git-why-mercurial) where Atlassian wrote why mercurail is better than git.

Like # people like this
Deleted user August 22, 2019

Very sad news... I think that the <1% of newly created Mercurial repositories would be (much) higher if Mercurial would be the default choice instead of Git. I think that some (many?) new BitBucket users have created Git repositories because they simply did not change the default settings... so, the number of newly created Mercurial repositories shows the number of repositories that are intentionally created as Mercurial ones.

Do you really have to drop the fundamentals BitBucket was build upon?

Like # people like this
greatcoder
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 22, 2019

Deleting customer's data is a terrible move. How could anyone trust Atlassian again?

Like # people like this
Dan Cumings
Contributor
August 22, 2019

@kerogos it really is.  This is simply a battle lost by poor marketing.

Like # people like this
cayhorstmann
Contributor
August 23, 2019

Just a heads up that moving a Wiki from BitBucket to Github doesn't seem too much of an issue.

1) Clone out the Wiki from BitBucket

hg clone http://bitbucket.org/username/projectname/wiki

2) In GitHub, add a Wiki (must be a public project or paid plan) and make at least one page

3) Clone the GitHub Wiki

git clone http://github.com/username/projectname.wiki

4) Copy everything from wiki to projectname.wiki

5) Push the changes

Like # people like this
cayhorstmann
Contributor
August 23, 2019

I tried to preserve the edit history of the Wiki by converting the repo from Mercurial to git with hg-fast-export, but I could not figure out how to convince GitHub of accepting that.

jowanp
Contributor
August 23, 2019

Mercurial and BitBucket's support is what has locked us into Atlassian and why we use Jira and other Atlassian products.

When moving to GIT - it is very unlikely that we will stay with Atlassian as our cloud provider as there are lots of better products on the market that work with GIT.

I dare say this is the same for other development companies. When you throw out HG, you also throw out the need for it's integrations. Good bye Atlassian - not just BitBucket.

Like # people like this
Ruslan Berezyuk
Contributor
August 23, 2019

You are a complete disaster, even can't communicate it appropriately. 

The official article claims: 

image.png

image.png

 

image.png

Like sgautrin likes this
aplsimple
Contributor
August 23, 2019

Mostly, that's bad news for Atlassian, not for its users. Not even sure the git users of Atlassian are awfully glad at this.

Ed Lomonaco
Contributor
August 23, 2019

guess the more we complain the faster they plan to ditch support...

Tara McGrew
Contributor
August 23, 2019

They've fixed it:

bitbucket-removing-mercurial.png

Like Ruslan Berezyuk likes this
Zoltán Lehóczky
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 23, 2019

Atlassian, I hope you realize you're pushing your users to Microsoft.

You closed down HipChat and Stride this year, both of which had their merits compared to Slack. So, some people went to Microsoft Teams, we included (it's free with Office 365, which a huge chunk of companies already use to get Office and e-emails, services that you don't provide). Heck, we did it even though we had to write the migration tool ourselves.

Now you get rid of the one unique selling point of Bitbucket compared to GitHub or even Azure DevOps, both of which are Microsoft services (I honestly don't see the benefits of BB compared to them, apart from being cheaper but also having big drawbacks). If it's about Git hosting, why not go to GitHub? And this time we even have a migration tool ready.

What will be next, in 2021 will you delete all existing JIRA projects in favor of "next-gen" ones? 2022 will bring the removal of all Confluence pages that were created before the new editing experience?

Basecamp keeps old versions forever, until at least one person uses it. Might not be the best way to do business (though they're doing fine it seems), but with them I can be sure that a) they won't suddenly do deep changes to a tool that I need for productivity every day and b) they won't delete my data at a 10-month notice. Data that I have in hundreds of instances and can't easily export automatically, mind you.

Keep in mind that the majority of your users are developers. They'll develop the necessary apps to move away from your services if you upset them with stunts like this, they're not ordinary users who just have what you give them, they have a lot more choices.

Like # people like this
bcrow August 23, 2019

I have code repositories on both Windows and Mac machines.  Any suggestions for migration for Mac users?

Like DiGriZ likes this
torohill August 23, 2019

Here's a couple of alternatives I found that offer Mercurial hosting. 

Anybody have any experience with these options?

Ruslan Berezyuk
Contributor
August 23, 2019

@torohill are you sure Helix support Mercurial? Couldn't find info about it. 

kapplebaum
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 23, 2019

The code for my Master's project is in several Mercurial repos. By not providing a way to convert to git, this basically makes my project useless to future researchers.

 

Please, please, please let us convert the repos.

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events