There is no equivalent to git clean in the core Mercurial package.
However, the hg purge extension does what you are after.
There is an open issue to make this extension part of the core package.
There is no equivalent to git clean in the core Mercurial package.
However, the hg purge extension does what you are after.
There is an open issue to make this extension part of the core package.