Hacker News new | ask | show | jobs
by quleap 2364 days ago
You surely don't know much about Mercurial.

"purge" has NOTHING to do with commits. "purge" only removes file not tracked by Mercurial.

"graft" replaced "transplant".

"graft" copies commits while "rebase" moves commits.

These commands all have very clear purposes, unlike those in Git.

It's just that you haven't really bothered to spend a few minutes on learning them.

1 comments

purge is a third-party extension; it removes untracked files as you wrote.

But ~purge~ prune is also a command of the evolve extension, that is conceptually similar to strip, as GP wrote.

evolve doesn't have a purge command. It has a prune command.

purge is not a third party extension. It is distributed along with Mercurial.

You are correct, thanks.