Notes on version control for xml3k projects

hg.4suite.org hosts several of the projects. On this server the setup is as follows:

Creating a branch (Amara, Akara and Bright Content)

Assuming you've already cloned from main or another branch, make sure to hg commit any work you've already done to your local repo but do not push to main. Then create the branch on the server as follows:

cd path/to/local/repo
hg commit -m "Preparing to branch" #If necessary
hg clone  ssh://hg.4suite.org//var/local/hg/sandbox/$YOURUSERNAME-amara-$BRANCHNAME

BRANCHNAME should be brief but descriptive.

If it's an official branch the last line should instead be:

hg clone  ssh://hg.4suite.org//var/local/hg/amara/$BRANCHNAME

This assumes you have SSH developer access to hg.4suite.org. Of course you can choose to make the destination any Mercurial server you like.

You should probably rename the local folder to reflect the branch, and make sure you edit its .hg/hgrc to make its default destination the branch rather than trunk

See also

VCS (last edited 2008-11-24 18:46:31 by localhost)