Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

remove repository limit for mercurial

lhughes41 May 8, 2019

I have run over the 2gb limit in a mercurial repository (in a windows environment). The instructions provides discuss how to remove the "repository limitation' but only give the example in git terms.  :-(   It seems like I need to remove the limit before i can start doing maintenance (I tried deletes of files in the repository at bitbucket and got rejected).  What is the proper way in mercurial context?

  Is it 'strip' a commit inside bitbucket?

 

 Please advise, thanks in advance.

  Luke

1 answer

0 votes
Stephen Sifers
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 9, 2019

Hello Luke and welcome to the Community!

The limit you've git sounds like you’re running into is at the Bitbucket free tier side which has a soft limit of 1GB and a hard stop at 2GB. To clean up your Bitbucket instance you’ll first need to clean up your local repository and then commit those changes to reduce the storage within Bitbucket. There is an article which walks you through this process both locally and within Bitbucket. This article may be found at Reduce repository size | How to reduce a Mercurial repository.

If you run into any issues along the way, please do let us know the error or problem you face so we may assist with helping you move forward.

Regards,
Stephen Sifers

lhughes41 May 9, 2019

Thanks for replying. But my understanding is once I get locked I *cannot* do new commits. I would have to strip existing commits first.

 

 Please point me towards cheapest plan where I don't have this limit. Thanks, 
 Luke

Stephen Sifers
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 10, 2019

Hello Luke,

Bitbucket cloud is prived in tiers which each have their own storage limit. To increase storage from the free 1GB to 5GB you would need to upgrade to the standard tier. More about this may be found at Bitbucket cloud pricing.

To update your plan please follow these steps:

  1. Navigate to your Bitbucket instance via a web browser
  2. Open your Settings:
    1. For your individual account: avatar > Bitbucket settings.
    2. For your team: avatar > team name, and then click Settings in the sidebar.
  3. Select Plan details from the left panel.
  4. Click Upgrade plan or Change plan.
    The plan page appears.
  5. Click the Free, Standard, or Premium button for the plan you want.
  6. You'll get the Enter your billing details screen. Enter the required information, and click Purchase when you're done.

Source documentation: Plans and billing | Update your plan

I hope this proves helpful and you’re able to upgrade your Bitbucket plan without issue.

Regards,
Stephen Sifers

lhughes41 May 10, 2019

Thanks. I chose the "get more storage and minutes" under free. But it was a bit vague. Will it auto trigger if I exceed 2gig and start charging me $10 a month? The mechanics were hazy! Please advise. Basically I want to make sure I never get locked out again (spent 12 hours recovering from that).

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events