Free and Open Source real time strategy game with a new take on micro-management

Difference between revisions of "Mercurial"

From Globulation2

Jump to: navigation, search
m (Anonymous Mercurial Access)
Line 9: Line 9:
This project's Mercurial repository can be checked out through with the following instruction set:
This project's Mercurial repository can be checked out through with the following instruction set:
:hg clone http://hg.globulation2.org/glob2/
:hg clone http://hg.globulation2.org/glob2/
There is only one glob2 branch which almost always guarantees a functioning glob2. This branch is called "master". '''So you certainly want to do'''
:hg clone -r master http://hg.globulation2.org/glob2/
instead of the clone command above.

Once you have a cloned repository, you can simply update it with
:hg pull -r master http://hg.globulation2.org/glob2/
inside the cloned directory. This reduces the net traffic drastically.


===Project Member Mercurial Access via HTTPS===
===Project Member Mercurial Access via HTTPS===

Revision as of 19:11, 24 April 2007

Browsing the Mercurial Repository

You can Browse the Mercurial repository of this project with your web browser. This gives you a good picture of the current status of the source files. You may also view the complete histories of any file in the repository as well as differences among two versions.


Getting a Copy of the Mercurial Repository

Anonymous Mercurial Access

This project's Mercurial repository can be checked out through with the following instruction set:

hg clone http://hg.globulation2.org/glob2/

There is only one glob2 branch which almost always guarantees a functioning glob2. This branch is called "master". So you certainly want to do

hg clone -r master http://hg.globulation2.org/glob2/

instead of the clone command above.

Once you have a cloned repository, you can simply update it with

hg pull -r master http://hg.globulation2.org/glob2/

inside the cloned directory. This reduces the net traffic drastically.

Project Member Mercurial Access via HTTPS

Member access is performed using the Mercurial over HTTPS method. Access can be given by providing Nct with a username and password by emailing him at stephane [at] magnenat [dot] net

This project's Mercurial repository can be checked out through member Mercurial access with the following instruction set:

hg clone https://hg.globulation2.org/glob2/


Mercurial Newbies

If you've never used Mercurial, you should read some documentation about it; a useful URL is http://www.selenic.com/mercurial/wiki/index.cgi/QuickStart. Using Mercurial is not complex but you have to understand what is going on. The best way to start is to ask a friend to show you the way, or pop onto the glob2 development IRC channel and ask there.

Older source code

For revisions and branches older than the new Mercurial setup, visit CVS. This code could be quite old by the time you read this, so its advised that you use the latest code instead.

Misc