the implementation for all mercurial commands (the implementation for level 1).
The code has grown fast and now it’s time to start the refactoring to make it
clearer and easier to understand.
Also I have to create some automatic tests to make the API stronger and to proof
that you can use the code without any risks. Until now I tested the code into a
main function, using some system calls to create the repository and to test my
commands. The verification was just visual.
This is not enough to show the correctness but more ample tests will follow