Once the Mercurial client is installed, move to the directory to which you want to check out the source code.
To check out the latest source code tag, type the command:
$ hg clone http://code.openbravo.com/erp/devel/main OpenbravoERP-3.0PR18Q2 $ cd OpenbravoERP-3.0PR18Q2 $ hg up 3.0PR18Q2
In order for the Module Management Console to work correctly it is necessary that the user running the Tomcat process is a trusted user to access the Mercurial repository, trust from Mercurial's point of view. If you are running Tomcat with the same user that has done the hg clone, then you can skip this step. Otherwise, add the tomcat user (e.g. tomcat) to the trusted group:
$ mkdir /etc/mercurial $ cat << EOF >> /etc/mercurial/hgrc [trusted] users = tomcat EOF