To clone the repository(anonymously):
hg clone http://hg.code.sf.net/p/kissplayer/code kissplayer-code
To clone the repository(with R/W access):
hg clone ssh://[username]@hg.code.sf.net/p/kissplayer/code kissplayer-code
Then you can start playing with the code. Once you finish working on a bug or a new feature, you should generate a patch for submission.
I strongly recommend using Queues, checkout this nice article by Mozilla.
Make sure the local repo is synchronized and clean:
hg pull -u(If there are commits pending)
hg st(Check the repository state)
Create a new patch(do not use spaces nor uppercase in patch name):
hg qnew patch-name
A text editor will pop up, just let it blank and dismiss.
As you edit the source, run hg qrefresh to update the patch. You can check the status with "hg st --rev qparent" or diff with "hg qdiff".
When you finish your work, create the patch:
hg qrefresh -m "A brief summary of the changes you have made."
hg export qtip >~/patch-name.patch
To remove the patches(and its changes):
If you really want to remove it from the series:
hg qdelete patch-name
Not working with MQ? Here are a few hints:
To revert all non committed changes:
hg revert -C -a
To create a quick patch:
hg diff -g > ~/patch.diff
To apply a patch:
hg patch --no-commit ~/patch.diff
If you want to learn more about Mercurial, this tutorial by Joel Spolsky is a must.