User:Clarkbw/Hg User Account
Getting your Hg User Account
Here are some really simple instructions to help others obtain and use their hg user account
Create a Bugzilla Request
To start, create a bug against the mozilla.org product.
In the table below you'll need to replace these values with the correct values that reflect your situation.
- $YOUR_NAME
- You probably want to have this correct
- $YOUR_EMAIL
- This is important because it will become your username for hg.mozilla.org (see #SSH_Username)
- $REASON
- You need a valid reason for Mozilla IT to issue you a user account. If you're contributing significant code on an account on http://hg.mozilla.org/users/ that may be enough. Be sure to include that person who's account you are working on in the CC list.
- $COMMITTER_AGREEMENT
- This message indicates where / when you signed your committer agreement. If you haven't signed a committer agreement form take a look at the steps to become a committer and submit the committers agreement form.
| Product | mozilla.org |
| Component | Account Request: Hg |
| Severity | Normal |
| Platform | All |
| OS | All |
| CC | (add the people who will vouch for you) |
| Summary | Hg Account Request - $YOUR_NAME $YOUR_EMAIL |
| Description | $REASON
I signed a $COMMITTER_AGREEMENT Attached is my public key. |
| Attachment | (your public ssh key, id_rsa.pub file) |
Here's bug 457932, the bug I filed for an additional example.
Using your Hg User Account
Once your account has been created you might need to do some additional things in order to work with other peoples repos and your own. Much of this information and more is available at Publishing Mercurial Clones
SSH Username
In your .ssh/config add the following, replacing $YOUR_EMAIL with the value you submitted with your account bug.
Host hg.mozilla.org User $YOUR_EMAIL
Creating Your Repository
Read the MDC Mercurial page on Creating a Repository.
Pushing Changes
In general you'll want to follow the config setup needed for Pushing Changes