Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to remove a binary file from fossil history

Tags:

fossil

This situation happens a little often, your whole repository has 2MB and then someone thinks it would be great to have a backup of selenium.jar with 20MB in repository. So everyone now must download a repository with at lest 22MB, and version after version of the new binary file the repository grows its size.

Is possible to remove a binary file from fossil? I read that one of fossil philosophies is to never rewrite history, but I don't want to rewrite history I just want to remove the history content like a missing artifact.

like image 220
Danilo Cabello Avatar asked May 03 '12 21:05

Danilo Cabello


1 Answers

Does shunning content covers what you need? It effectively prevents the files from being synced.

like image 142
inerte Avatar answered Oct 16 '22 04:10

inerte