youngmon/atlassian-qna huggingface dataset:
Is it possible to recover my old mercurial projects
Asked by tbeattie:

I'm looking to recover my private repositories that got removed when Bitbucket turned off Mercurial support. Is this possible?


Answers:
author: Theodora Boudale
body: Hi everyone,

Atlassian made a decision to move away from maintaining and supporting Mercurial repositories in 2019.

This was announced in community:

* <https://community.atlassian.com/t5/Bitbucket-articles/What-to-do-with-your-Mercurial-repos-when-Bitbucket-sunsets/ba-p/1155380>

and on our blog:

* <https://bitbucket.org/blog/sunsetting-mercurial-support-in-bitbucket>

Bitbucket Cloud Support team is no longer able to restore those repositories.

If you are looking for a Mercurial repository that was public, all the public repos were archived by Software Heritage:

* <https://bitbucket-archive.softwareheritage.org/>

We will not be able to meet any further requests for recovery of private HG repositories and users will need to recover those from local copies only.

Kind regards,  
Theodora


author: seanaty
body: If you're looking for a mercurial repository that was public, all the public repos were archived by Software Heritage <https://bitbucket-archive.softwareheritage.org/>


author: Caroline R
body: Hi, [@tbeattie](/t5/user/viewprofilepage/user-id/1783098), thank you for reaching out to Atlassian Community.

We can help you recover your mercurial repositories. In order to do that, I have created an internal ticket for you using the email of your community account.

You should have received an email with a link to the support ticket. Just in case you haven't received it, please feel free to let me know and I can post the ticket URL here. The ticket will be visible only to you and Atlassian staff, no one else can view its contents even if they have the URL.

Please feel free to let me know if you have any questions.

Kind regards,  
Caroline


Tags: bitbucket-cloud

cloud
Why can I no longer see my bitbucket workspace?
Asked by mminkov:

I have a workspace that has existed for a few years with no issues. I still have read \& write access in the command line, but can't see it in the website.

I have a private key that proves I have access.  

However, I can't see the organization on the website. Recently I tried to login and I got a weird "create account" dialog, which I just clicked through - and now I can't see my organization anymore. I'm guessing I just migrated my account to some newer version - but it's a bit of a problem that I lost access to code I could previously see.

Who do I contact to resolve this? I'm OK with paying for support.


Answers:
author: Patrik S
body: Hello [@mminkov](/t5/user/viewprofilepage/user-id/4832957) ,

Welcome to Atlassian Community.

As we will need you to share some personal informations about your workspace and e-mail addresses, I have created an internal ticket for you using the email of your community account, so you don't have to share this information here.

You should have received an email with a link to the support ticket. Just in case you haven't received it, please feel free to let me know and I can post the ticket URL here. The ticket will be visible only to you and Atlassian staff, no one else can view its contents even if they have the URL.

Thanks, [@mminkov](/t5/user/viewprofilepage/user-id/4832957) .

Kind regards,

Patrik S

comments: author: AntonySalas
body: I also have the same problem with the same features, could you help me?


Tags: bitbucket-cloud

cloud
Error when trying to clone from Bitbucket Remote to local SourceTree
Asked by darlenf:

![BitbucketCloneToLocalError.png](/t5/image/serverpage/image-id/189456iA71B10E91A210ED0/image-size/large?v=v2&px=999 "BitbucketCloneToLocalError.png")


Answers:
author: Christian Glockner
body: Hi,

It looks like the Bitbucket Server instance is short on memory, so I'd be looking in that direction.

Cheers,

Christian

Premier Support Engineer

Atlassian

comments: author: darlenf
body: Christian thank you so much for the suggestion and yes expanding the server memory has allowed us to now clone without the error.

Now our concern is how to keep the repos down to an acceptable size as the historical files are going quickly and some are now over 2GB. Is there a cleanup process that would help us keep the size from growing so quickly?

Thanks for your support, Darlene


Tags: bitbucket-server

server
Someone has already added that SSH key.
Asked by patrickmsieber:

Hello

I Would like to add my SSH Key but it says: "Someone has already added that SSH key."

I use the same Key for my Business Account: \<email removed due to privacy reasons\>

But I can not add the Key to my Personal Account. I don't want to create another Key because it's the same Macbook I use.

Thanks


Answers:
author: Caroline R
body: Hi, [@patrickmsieber](/t5/user/viewprofilepage/user-id/4832703), welcome to the community!

As we will need to know the public ssh key to further investigate this case, I have created an internal ticket for you using the email of your community account, so you don't have to share this information here.

You should have received an email with a link to the support ticket. Just in case you haven't received it, please feel free to let me know and I can post the ticket URL here. The ticket will be visible only to you and Atlassian staff, no one else can view its contents even if they have the URL.

Please feel free to let me know if you have any questions.

Kind regards,  
Caroline

comments: author: Niklas Eliason
body: Hello Caroline,

Could you create a ticket for me as well as I'm having the same problem.

I believe my boss removed the old user the key was previously attached to so I cannot remove it and add it again.


author: Caroline R
body: Hi, Niklas, welcome to the community!

I would like to ask if you could please create a new question for your issue, providing details on the errors you see.

We generally encourage users to create a new question for their issue instead of posting on someone else's question, because 1) the root cause and resolution may be different for each case 2) a question can become cluttered and difficult to follow if we try to troubleshoot multiple users' issues in it.

Please feel free to let me know if you have any questions.

Kind regards,   
Caroline


author: Charlie Misonne
body: Hi [@patrickmsieber](/t5/user/viewprofilepage/user-id/4832703)

Welcome to the Atlassian Community!

Well the error says exactly what's going on: 2 different users can not have the same SSH key. There is no way around that.

So you will have to create another one for your personal account or use https with username/password authentication instead of ssh.


Tags: cloud
Remove file from git
Asked by Asif Alamgir:

I have commited large files by mistake, cant rm or push anymore


Answers:
author: Caroline R
body: Hi, [@Asif Alamgir](/t5/user/viewprofilepage/user-id/782014), thank you for reaching out to Atlassian Community.

Could you please tell me the last 3 letters of the name of this workspace and repository, so I can identify it? We can either run a GC to remove dangling commits to try to reduce its size, or we can temporarily increase the repo size to allow you to push the changes without these large files once you remove them locally.

Please let me know if you have any questions regarding this case.

Kind regards,  
Caroline


author: Mikael Sandberg
body: You need to rewind the last commit, please have a look at this [KB](https://support.atlassian.com/bitbucket-cloud/docs/reduce-repository-size/) on how to do that. You will have to reverse that push by rewinding the history by creating a new temp branch, reset the original branch to a commit before the last one, force push the new head, and then restore your changes. Once you enabled Git LFS you can push those changes.


Tags: bitbucket-cloud

cloud
Can't manually trigger a pipeline on a self-hosted runner when out of cloud build minutes
Asked by Michael Clayton:

I'm currently using a trial account of BitBucket Cloud which includes 50 minutes of build time every month.

I've consumed all of the cloud pipeline minutes for the trial for this month so I've spun up a self-hosted runner on an Azure virtual machine, registered the runner (which shows as ONLINE), and updated my pipeline so that it contains \*only\* steps that target a self-hosted runner (i.e. every step has "runs-on: self.hosted").

This pipeline is automatically triggered when I make a commit to my repository, and successfully runs to completion on my self-hosted runner.

However, when I try to \*manually\* run the pipeline with the "Run Pipeline" button on the "Pipelines" page for my repo I get an error message saying "*Your account has run out of build minutes. Upgrade your current plan or purchase more build minutes to continue running pipelines.*" even though all steps target my self-hosted runner.

In order to manually trigger the pipeline (e.g. to incorporate changes I've made to to Repository Variables) I'm currently having to commit a whitespace change to a file in the repository so that the commit triggers a pipeline run instead.

Is this a known bug, or am I doing something wrong?


Answers:
author: Patrik S
body: Hey [@Michael Clayton](/t5/user/viewprofilepage/user-id/927679) ,

Thank you for reaching out to Atlassian Communty.

I was able to simulate the behavior you reported, and it's indeed a bug on our platform.

That said, I went ahead and created the following bug ticket in our public issue tracker for that issue :

* <https://jira.atlassian.com/browse/BCLOUD-21780>

I would suggest you to add your vote there, since this helps both developers and product managers to understand the impact. Also, make sure you add yourself as a watcher in case you want to receive first-hand updates from that ticket. Please note that all bug fixes are implemented with [this policy](https://confluence.atlassian.com/support/atlassian-cloud-bug-fix-policy-206865884.html) in mind.

As a workaround, while our development team works on fixing the bug, you can either push a change to your repository to automatically trigger the build, as you were already doing, or another option is to use our API to initiate the build by the following endpoint :

* <https://developer.atlassian.com/cloud/bitbucket/rest/api-group-pipelines/#api-repositories-workspace-repo-slug-pipelines-post>

Hope that helps. Let me know if you have any other question related to this particular topic.

Thank you, [@Michael Clayton](/t5/user/viewprofilepage/user-id/927679) .

Kind regards,

Patrik S


Tags: bitbucket-cloud

cloud
How to make the "Default File Viewer" button visible for all users when using File Viewer plug in?
Asked by ?zgecan Sar?:

Hi,

I have added the File Viewer in order to view 3D files plug in to our Bitbucket account and activated for all repositories. When I try to view a stl file, file view options appear and I am able to change from "default file viewer" to "view as 3D model". But other users cannot view this option including repository admin.

How can I solve this problem?


Answers:
author: Theodora Boudale
body: Hi [@?zgecan Sar?](/t5/user/viewprofilepage/user-id/4821227) and welcome to the community.

This plugin is not developed by Atlassian, but based on my testing, it looks that each user may need to install it in their personal workspace in order to be able to view the option (in any workspace).

By 'personal workspace' I mean the workspace that was created automatically for each Bitbucket user, when they signed up for a Bitbucket Cloud account.

Each user can find that if they:

1. Log in to <https://bitbucket.org/>
2. Select their avatar \> **All workspaces**
3. They can find there their personal workspace, it should have the same name as their username, unless they changed it. Select that workspace.
4. Select **Settings** \> **Marketplace**
5. Find and install the **File Viewer** plugin

Could you ask your users to try that, and see if they can view this option afterwards?

Kind regards,  
Theodora

comments: author: ?zgecan Sar?
body: Hi Theodora,

That solved the problem, thank you for your interest.


Tags: bitbucket-cloud

cloud

view
Does bitbucket scan while importing repositories?
Asked by websearchpro:

Hi,  

we are migrating from self-hosted gitlab to the bitbucket. We are intending to import all our gitlab repositories to bitbucket.  

While importing, does bitbucket scan for viruses, ransomwares, cryptojacking malwares and other malwares?  

Note: We have just purchased cloud premium version of bitbucket.  

Thanks  
Sabin Chhetri


Answers:
author: Theodora Boudale
body: Hi Sabin,

We do not perform any such scans during import.

There are some third-party apps that can be integrated with Bitbucket Cloud and can detect security vulnerabilities, you can explore such apps here:

* [https://marketplace.atlassian.com/search?category=Security\&hosting=cloud\&product=bitbucket](https://marketplace.atlassian.com/search?category=Security&hosting=cloud&product=bitbucket)

We have also partnered with Snyk in an integration, you can find more details here:

* <https://bitbucket.org/blog/bb-snyk-security>

Kind regards,  
Theodora


Tags: bitbucket-cloud
Unable to commit via SourceTree anymore
Asked by moroandrea:

Since I installed version 2.x I'm no longer able to commit as git return an error that tell me my email is not specified.

I've never been offered an option to specify it. How can I move forward?

Thanks

Andrea


Answers:
author: Tim Crall
body: You should be able to set your e-mail address (on Mac) SourceTree-\>Preferences-\>General
Cloning Bitbucket repos in SourceTree displays three of everything
Asked by Jared McArthur:

When cloning a repo, using the Clone/New button, and then clicking the globe to browse hosted projects and clone from SourceTree, all of my repos are listed 3 times. This happens 100% of the time.

This is documented in bug report <https://jira.atlassian.com/browse/SRCTREEWIN-4023>

EDIT: Well, in the event this happens to others, check the 'Edit Accounts...' button in 'Browse Hosted Projects.' I had the same account listed three times. Don't know how, but there it is. Issue resolved.  


Answers:
author: Seth
body: You should post that Edit as an answer.
How to put a new project to github with SourceTree
Asked by rwobben:

Hello,

I have made a new project on my computer. I want to put it into a new project I made on github,

How do I tell sourcetree to do this ?


Answers:
author: rahuldanwade
body: Hi @roelof wobben

You need to configure your remote repository on GitHub with your local repository on your machine.

It is an easy process which needs following steps to be followed taking into consideration that you have gitHub repository already set.

1.Add a remote to your repository(local)

a. click on repository.

b. In repository explorer check for "Remote" tab

c. Right click -\> add remote

d. click "add" from pop up screen, fill out required information

remote name :- could be anything(alias)

URL :- repo on git hub

e. In extended information you can select github as hosting type followed by username for further authentication

2.once a remote set has done you can commit and push code to github server.

hope that answers your question!

thanks

Rahul

comments: author: Mythri Shenoy
body: Thank you. Just what I needed.


author: Henny Chauke
body: Thanks.
No external diff launches when FileMerge is the selected tool
Asked by Conrad Yoder:

(OS X 10.10.5, SourceTree 2.1, Xcode 7.2)

I have FileMerge set as both my Visual Diff Tool and Merge Tool in ST prefs, but when I select "External Diff" in the contextual menu for a file, nothing happens.

I have installed the Xcode command-line tools using 'xcode-select --install' and I can successfully use opendiff on the command line. (opendiff is in my path as well.) If I select "Install Command Line Tools' from within ST, I get an error dialog:
> Installation Failed
>
> Unable to install command line tools, please see the system log for more details.

In the system log, I get the error:
> 12/16/15 11:29:13.010 AM smd\[555\]: App "com.torusknot.SourceTreeNotMAS" did not pass helper check "com.atlassian.SourceTreePrivilegedHelper2".

Any suggestions as to what is wrong here?

EDIT 4/6/16: Still the same problems in OS X 10.11.4, ST 2.2.4, Xcode 7.3.


Answers:
author: hvisage
body: Same problem here


Tags: diff

external-diff

mac

merge
SourceTree - Merge strategies - Keep both changes possible through UI?
Asked by Paul Vu:

SourceTree gives us different merge strategies to accept either "theirs" or "mine", but is there a way to keep both changes without having to edit the file manually?


Answers:
author: Tim Crall
body: This will be the default behavior if the changes don't conflict. If the do conflict, then human intervention is required.

comments: author: Seth
body: I totally assumed conflict in my answer. Good clarification.


author: Paul Vu
body: Darn, I was hoping I could have some functionality like TFS in Visual Studio and accept both changes if they are on the same line.


author: Seth
body: Visual Studio is a full IDE, SourceTree is just a Git GUI. Some IDEs that have built-in Git support may provide that function.


author: Seth
body: Only by using an external merge tool.
Is there an option to turn on alternate commit row colours in SourceTree 2.1?
Asked by Ohifriend:

Before Updating to SourceTree 2.1, the main window of commits (seen below, a pic of the new window) used to have a light grey background for alternating rows. Ive had a look through the preferences and stuff but can't see an option to bring it back. I actually like the new UI changes and it's still usable as is, but those alternating colours can be useful sometimes.

Screen Shot 2015-12-16 at 9.29.39 PM.png  
[](https://community.atlassian.com/t5/Sourcetree-questions/Is-there-an-option-to-turn-on-alternate-commit-row-colours-in/qaq-p/26102?attachment-id=1513){#link_1169c40fc198bf}  
[](/tnckb94959/attachments/tnckb94959/sourcetree-questions/756/1/Screen%20Shot%202015-12-16%20at%209.29.39%20PM.png){#display_1169c40fc198bf_0}


Answers:
author: Tenzian
body: I also miss the old display - the new plain version makes the list of commits much harder to skim read.


author: Joachim Deelen
body: Reading large tables with plain background color is very painful. Please add an Option to the Preferences to turn on alternating row colors. Please!!


author: joerick
body: Agreed, it's is getting tricky to read. Worth noting that iTunes has ditched the blue alternate rows for light grey, which has the same effect while still looking less Aqua (old-fashoned).

Image 2016-01-26 at 5.46.30 pm.png  
[](https://community.atlassian.com/t5/Sourcetree-questions/Is-there-an-option-to-turn-on-alternate-commit-row-colours-in/qaq-p/26102?attachment-id=4545){#link_1169c42214be24}  
[](/tnckb94959/attachments/tnckb94959/sourcetree-questions/760/1/Image%202016-01-26%20at%205.46.30%20pm.png){#display_1169c42214be24_0}


author: Michael McLawhorn
body: Please restore the alternating colors or provide an preference to do so.


author: Richard Heard
body: I would also like to see this re-added.


author: bgannin
body: The new design is solidified across Atlassian products and is well-established at this point. We aren't going to add additional UI complexity and variations, we are actively trying to go in the opposite direction. Please file or comment and vote on a ticket here for us to gauge interest: <https://jira.atlassian.com/browse/SRCTREE>

Brian Ganninger  
Senior Mac Developer, SourceTree

comments: author: Isaac Wankerl
body: Here's the ticket I found that can be voted on.

<https://jira.atlassian.com/browse/SRCTREE-3332>


author: Ohifriend
body: Thanks, done!


Tags: mac
p4merge no longer launches after OS update
Asked by Doug Ivers:

It was working in the past, but I'm not sure how long it's been since I needed to merge. I recently updated Mac OS from 10.10.4 to 10.10.5.

I have the latest SourceTree and the latest p4merge. I have p4merge set for both diff and merge in source tree prefs. I've tried it both with p4merge running and not running when I select "launch external merge tool". I have restarted both programs. What else should I try?

As a work around, I manually set the base, #1, and #2 in p4merge, but it is a slow process, also error prone.


Answers:
author: Doug Ivers
body: I reverted back to an older version of p4merge and toggled the choice of merge tool in SourceTree prefs, and it's working again.


author: Conrad Yoder
body: Sounds like I'm having a similar problem w/ FileMerge aka opendiff - that won't open either when selecting 'External Diff'
Do we have SourceTree for Linux system?
Asked by Chirag Patel:

Hi support team,

I am using Linux os in my pc so I need SourceTree setup for works. I have found SourceTree for Mac \& Windows only but not for Linux. I can not change OS due to working in many projects.

Please help me with getting started SourceTree on Linux System.

Thanks in advance.

Regards

Chirag Patel


Answers:
author: Nic Brough -Adaptavist-
body: It's not available for Linux.

I wish it were. I've tried, but the Windows version is so badly written, it won't even begin to work in Wine. A proper Linux version is desperately needed.


Tags: linux
Error 128 spam
Asked by Ollievier:

Hey,

I've been continiously getting the 128 error popup. Averaging about 30 popups per minute.

This is a screenshot of the error <https://gyazo.com/1a6f83b41125d1be44b72b7e9bef19ed>

I've tried to acces the folder with CMD and the regular explorer, but couldn't find it. Neither did I find an option refering to the link in source tree.

Best regards,

Olivier


Answers:
author: Steven F Behnke
body: What application is this error stemming from? Is this source tree?


Tags: error
Receiving error entry point libiconv_set_relocation_prefix could not be found in the dynamic link library ....\local\atlassian\sourcetree\git_local\mingw32\bin\libintl-8.dll ...libssh2-1.dll, libcurl-4.dll, when cloning from bitbucket
Asked by Neil Hucker:

Hi

I've just installed Bitbucket on a 32bit windows 10 pc and when I try to clone a Bitbucket repository I get a cascade of errors.

Receiving error entry point libiconv_set_relocation_prefix could not be found in the dynamic link library ....\\local\\atlassian\\sourcetree\\git_local\\mingw32\\bin\\libintl-8.dll

Receiving error entry point libiconv_set_relocation_prefix could not be found in the dynamic link library ....\\local\\atlassian\\sourcetree\\git_local\\mingw32\\binlibssh2-1.dll

Receiving error entry point libiconv_set_relocation_prefix could not be found in the dynamic link library ....\\local\\atlassian\\sourcetree\\git_local\\mingw32\\binlibcurl-4.dll

have tried uninstalling and redownloading and installing a number of times to no affect.


Answers:
author: ric34d
body: Hi there,

I have the same issue with only one computer. The same installation on two other computers have no issues.


author: Matt Sullivan
body: I am having the same issue. My dll's are (in order) libssh2-1.dll, libcurl-4.dll, and SSLEAY32.dll. I have uninstalled and reinstalled several times and have tried going to Options and updating the Embedded Mercurial and Embedded Git.


Tags: windows
Checkout new branch doesn't discard changes
Asked by Heymen Nicolaij:

In some branch I made some changes, but didn't add them to the index.

Next I checked out a new branch to track a remote one and saw that the changes made while working on the first branch where still there. I would have expected them being discarded because now the local branch doesn't reflect the state of the remote branch.

Ok, but the problem is SourceTree has no option in de Checkout New Branch tab to discard/cleanup changes.


Answers:
author: Seth
body: Git won't discard uncommitted files unless you explicitly tell it to. If the files that you changed are identical between the two branches (besides the uncommitted changes), Git will allow you to switch while keeping the changes (useful if you realized you were making the changes on the wrong branch, or just created a new branch for changes you were creating).

New files will always be kept as well, and Git should only complain if you try to check out a branch that has an indexed file with the same name/location.