Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3228774
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T16:43:58+00:00 2026-05-17T16:43:58+00:00

ok, when I was young, I put severial big files(like resource file, dll, etc..)

  • 0

ok, when I was young, I put severial big files(like resource file, dll, etc..) in my mercurial repos. and I found the size of it is so big that I cannot easily push it into bitbucket,

any way to delete this files history EASILY?

I put all those files in /res and /dll path.

edit:

this is a solution, but it will delete part of the history, so maybe there is a better solution.
Mercurial Remove History

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T16:43:58+00:00Added an answer on May 17, 2026 at 4:43 pm

    Your best bet is to use the convert extension, but warning you’ll end up with a totally different repo. Every hash will be different and every person who cloned will need to delete their clone and re-clone.

    That said, here’s what you do:

    Create a filemap file named filemap.txt containing:

    exclude res
    exclude dll
    

    and then run this command:

    hg convert --filemap filemap.txt your-source-repository your-destination-repository
    

    For example:

    hg convert --filemap filemap.txt /home/you/repos/bloatedrepo /home/you/repos/slenderrepo
    

    That gets you a whole new repo that has all of your history except the history of any files in /res and /dll, but again it will be a new, unrelated repo as far as mercurial (and bitbucket) are concerned.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

As a young professional in .Net, I noticed that there are plenty of .Net
In my admittedly young career I've found myself writing code to support quirky business
I know PyCharm is young IDE but id like to know if you guys
I'm looking for arguments as to how best to size the young generation (with
I have the following code that just lists all MBean names found in platform
I would like to automatically create graphs of Hardness H and Young's modulus E
i have following xml file: <package> <reader> <id>r1007</id> <name>Robert</name> <email>robert@yahoo.com</email> </reader> <writer> <id>w1920</id> <name>Young</name>
Does anyone remember around 10-12 years ago, downloading files (game demos etc) from web
Below are the statments i found at http://www.springsource.com/files/uploads/all/pdf_files/news_event/Inside_the_JVM.pdf while going thru memory management Statement1:-
When java was young, people were excited about writing applets. They were cool and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.