Difference between revisions of "ADempiere Version Control"

From ADempiere
Jump to: navigation, search
This Wiki is read-only for reference purposes to avoid broken links.
m (Available Mercurial repositories)
(Making the clones)
Line 36: Line 36:
  
 
* First create a directory for your cloned SourceForge repositories:
 
* First create a directory for your cloned SourceForge repositories:
For example:  /opt/repos/sourceforge
+
** For example:  /opt/repos/sourceforge
  
Now you can clone the repositories you will need.
+
* Make a clone of the main ADempiere repository.
 
+
* Clone the main ADempiere repository:
+
 
  cd /opt/repos/sourceforge
 
  cd /opt/repos/sourceforge
 
  hg clone -U <nowiki>http://adempiere.hg.sourceforge.net:8000/hgroot/adempiere/adempiere</nowiki> adempiere
 
  hg clone -U <nowiki>http://adempiere.hg.sourceforge.net:8000/hgroot/adempiere/adempiere</nowiki> adempiere
  
* Clone the Contributions repository:
+
* Clone any additional repositories you require:
cd /opt/repos/sourceforge
+
hg clone -U <nowiki>http://adempiere.hg.sourceforge.net:8000/hgroot/adempiere/contributions</nowiki> contributions
+
  
* Clone just the Libero branch of the eevolution repository
+
* Contributions repository:
cd /opt/repos/sourceforge
+
  cd /opt/repos/sourceforge
hg clone -U <nowiki>http://adempiere.hg.sourceforge.net:8000/hgroot/adempiere/eevolution#libero</nowiki> libero
+
  hg clone -U <nowiki>http://adempiere.hg.sourceforge.net:8000/hgroot/adempiere/contributions</nowiki> contributions
 +
 
 +
* Just the Libero branch of the eevolution repository
 +
  cd /opt/repos/sourceforge
 +
  hg clone -U <nowiki>http://adempiere.hg.sourceforge.net:8000/hgroot/adempiere/eevolution#libero</nowiki> libero

Revision as of 05:32, 9 May 2010

Note: This is a Draft Document - work-in-progress

Installing Mercurial

Install Mercurial client

  • Set your username in the Mercurial configuration file.
    • For Windows edit Mercurcial.ini in your %HOMEPATH%
    • For Linux edit the .hgrc file in your home directory ~
    • It should contain a section as follows:
 [ui]
 username = Tony Snook <tspc at dodo.com.au>

Install Mercurcial Eclipse plug-in


Cloning SourceForge repositories

Available Mercurial repositories

  • There are currently 4 mercurial repositories: adempiere, contributions, eevolution and localizations.
    • The repositories can be browsed from:

http://adempiere.hg.sourceforge.net/hgweb/adempiere

  • A list of mappings from SVN folders to Mercurial repositories and branches can be found at:

http://spreadsheets.google.com/ccc?key=0AsDcKifVZoKvdGFRVHo0bE1NVFBfRWZjLU55bkFGVFE&hl=en

Making the clones

  • First create a directory for your cloned SourceForge repositories:
    • For example: /opt/repos/sourceforge
  • Make a clone of the main ADempiere repository.
cd /opt/repos/sourceforge
hg clone -U http://adempiere.hg.sourceforge.net:8000/hgroot/adempiere/adempiere adempiere
  • Clone any additional repositories you require:
  • Contributions repository:
  cd /opt/repos/sourceforge
  hg clone -U http://adempiere.hg.sourceforge.net:8000/hgroot/adempiere/contributions contributions
  • Just the Libero branch of the eevolution repository
  cd /opt/repos/sourceforge
  hg clone -U http://adempiere.hg.sourceforge.net:8000/hgroot/adempiere/eevolution#libero libero