Since revision identifiers (e.g. a8d7641f ...) are based on a hash of a change set, it is actually not possible to remove a subset of the change set from the history.
However, it is possible to create a new repo with a parallel history, with the exception of a specific set of files, using the Convert extension. You convert the Mercurial repository to the Mercurial repository using a file card to exclude files that you don't need by adding exclude s. This will create a new, unrelated repository, which means that people with clones will no longer be able to pull it out of it and will have to re-clone from this new repo.
tghw Aug 24 '10 at 16:53 2010-08-24 16:53
source share