Difference between revisions of "ApCoCoA-1:SourceCodeManagement"

From ApCoCoAWiki
(add ApCoCoA Category)
(Updating through mercurial - hg update isn't enough)
Line 1: Line 1:
 
The ApCoCoALib sources are managed with Mercurial.
 
The ApCoCoALib sources are managed with Mercurial.
  
==Downloading And Installing Mercurial==
+
==Downloading and installing Mercurial==
  
Got to the [http://www.selenic.com/mercurial/wiki/index.cgi/Download Mercurial website] and get the stable source tarball or get the [http://www.selenic.com/mercurial-stable-snapshot.tar.gz latest stabe snapshot]. In order to install run  
+
Got to the [http://www.selenic.com/mercurial/wiki/index.cgi/Download Mercurial website] and get the stable source tarball, the [http://www.selenic.com/mercurial-stable-snapshot.tar.gz latest stable snapshot] or a [http://www.selenic.com/mercurial/wiki/index.cgi/BinaryPackages binary package] for your system. In order to install from the source, run  
 
  python setup.py install
 
  python setup.py install
 
as root or via sudo.
 
as root or via sudo.
  
==Checking out Sources==
+
==Checking out sources==
 +
 
 
To check out the current ApCoCoALib sources run
 
To check out the current ApCoCoALib sources run
 
  hg clone http://apcocoa.org/hg/ApCoCoALib-0.99
 
  hg clone http://apcocoa.org/hg/ApCoCoALib-0.99
 
from the command line.
 
from the command line.
 +
 +
==Updating the sources==
 +
 +
To update your ApCoCoALib sources, run
 +
  hg pull
 +
  hg update
 +
in your local repository from the command line
  
 
==Mercurial Tutorial==
 
==Mercurial Tutorial==
  
 +
*[http://www.selenic.com/mercurial/wiki/index.cgi/UnderstandingMercurial Understanding Mercurial]
 
*[http://www.selenic.com/mercurial/wiki/index.cgi/Tutorial Tutorial]
 
*[http://www.selenic.com/mercurial/wiki/index.cgi/Tutorial Tutorial]
 
*[http://www.selenic.com/mercurial/wiki/index.cgi/TutorialFirstChange Making the first change]
 
*[http://www.selenic.com/mercurial/wiki/index.cgi/TutorialFirstChange Making the first change]

Revision as of 15:27, 9 October 2007

The ApCoCoALib sources are managed with Mercurial.

Downloading and installing Mercurial

Got to the Mercurial website and get the stable source tarball, the latest stable snapshot or a binary package for your system. In order to install from the source, run

python setup.py install

as root or via sudo.

Checking out sources

To check out the current ApCoCoALib sources run

hg clone http://apcocoa.org/hg/ApCoCoALib-0.99

from the command line.

Updating the sources

To update your ApCoCoALib sources, run

 hg pull
 hg update

in your local repository from the command line

Mercurial Tutorial