This method will help us to easily run any hg command; and it will automatically prepare the env and other such thigns. --HG-- branch : heptapod