Context Navigation

We generally treat the Mercurial repositories for PySoy as wikis - fairly easy to get to, but we do want to keep it tidy.
Toward that end, first commit should be done to the mailing list to ensure the metadata is correct.

Linux Instructions

On linux, edit your ~/.hgrc file with your name, email address, and SMTP password. Note that if you use GMail, you'll need to create an application-specific password. Use the application-specific password in your .hgrc file rather than your actual password if using GMail.

It would be a good idea to commit only once when your work for the task is done.

~ is your home directory in linux. To view .hgrc in nautilus(File browser), first show hidden files and then you can edit your .hgrc file or you could just do a "gedit ~/.hgrc" or "vim ~/.hgrc" on a terminal. If you couldn't find an already existing .hgrc file, DON'T panic. Just create a file with name .hgrc in your home directory using gedit or some text editor or you could do a "vim ~/.hgrc" or "gedit ~/.hgrc". The format for the .hgrc file is as follows. Obviously, don't forget to save.

Command

After you add this, which notably ensures your username (full name and email) are recorded so you get proper credit for your work, commit your work (potentially more than one commit) and run this using the revision of the first commit in the series:

> hg email 99999

If you didn't catch the revision number when you committed, use hg log | less to find the first one you made. Replace 99999 above with the number before the colon.

You won't be able see whether your mail was sent unless you are subscribed to the mailing list. It WON'T appear on the gci site.

Subscribe to the mailing list here to check whether your mail was actually sent. Please prevent multiple mails for the same patch.

Windows Instructions

On windows, you should use tortoisehg as a client. Here are some instructions on how to perform certain necessary tasks on it:

Cloning repositories - you should create an empty folder with project name and right click -> clone. Replace source with the repository address and click clone.

Setting up mercurial.ini - To setup mercurial on windows, right click on project -> TortoiseHg? -> Global Settings. Click on edit file and copy the format from below. Don't forget to save. Note that if you use GMail, you'll need to create an application-specific password. Use the application-specific password instead of your account password.

Pulling and pushing - Once your commits are made, use the sync option in the context-sensitive TortoiseHg? menu on right clicking your project to pull and push.

Emailing commits - The Hg email option is also found in the sync dialog box. If your email settings are correct, you are good to go. Select your commits and mail them. You won't be able see whether your mail was sent unless you are subscribed to the mailing list. It WON'T appear on the gci site. Subscribe to the mailing list here to check whether your mail was actually sent. Please prevent multiple mails for the same patch.