I just got the latest mercurial and started adding in largefiles.
However, now I can't push changes:
abort: ssh://[email protected]/mysite/bitbucket.org does not appear to be a largefile store
How can I push to bitbucket now? I have multiple commits that include both largefiles and regular code commits. I'm OK with just forget
ing all the largefiles I've added, but how can I do that without reverting all of my real commits?
As mentioned in an answer to this question, you can use the convert extension to create a new repository. Use --filemap
to exclude the large files you don't want. This might be a problem if you have already pushed (other files) to bitbucket. Luckily, there is another answer to the same question which discusses editing history and has a recipe to remove a file from history. Since I'm assuming that you haven't pushed the large file anywhere you should be okay.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With