Erik B Erik B - 1 month ago 15
Git Question

Does Mercurial have an equivalent to git clean?

hg clean does not seem to exist, which kinda bothers me. Is this a feature that Mercurial doesn't have or did they just name it differently?

Answer

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.

Comments