Possible Duplicate:
Git equivalents of most common Mercurial commands?
Git and Mercurial - Compare and Contrast
sometimes programmers are forced to learn lots of tools, some of them are usually very similar, so how to leverage the experience of one tool and make it less painful to start with new tools? it would be very nice if there is some comparation between the operations of these tools.
i have been using git for long time, but never used hg, i have heard that hg is similar to git, so i wonder if there is kind of translation from git command to hg command?
for example what is the hg command corresponding to git clean?
if there is such kind of translation, it would make git users to start hg more easily.