I commit some 3rd party tools that i decided not to use afterwards and removed them from hg again.
Thing that i dislike – they are still kept in history. Normally this is a good thing of course, but for this particular case – that’s just a waste of space.
What are options to intentionally mess around with hg repository history and weed it out?
If you don’t mind having to switch to a new repository, your best bet would be to use the convert extension.
You can pass a filemap that excludes any files that you want to exclude and it will create a new repository for you, without any references to your files. Of course, this means having to clone a new working copy.
This means every working copy for the repository, so if there are a lot of working copies around, be prepared to do a lot of work.