obliterate functionality?

Peter Arrenbrecht peter.arrenbrecht at gmail.com
Tue Mar 18 06:18:33 CDT 2008


On Tue, Mar 18, 2008 at 6:21 AM, cowwoc <cowwoc at bbs.darktech.org> wrote:
>  How does one permanently remove a file in Mercurial (aka "obliterate")? CVS
>  had this, SVN does not and I'm wondering how Mercurial stacks up.

If you mean to remove it from the version history of a published repo
entirely, then you cannot (short of exporting and reimporting the
repo, and this would change revision hashes). Hg's philosophy is that
you cannot rewrite history.

-peo


More information about the Mercurial mailing list