Using Mercurial: Updating a central repository
Updating the central repository
Once your local version is satisfactory, and you have merged in the changes
from the main branch, you can update the central repository with the command
hg push
. Before doing a push
, common courtesy
requires that all of the code:
- Compiles; and
- Passes all unit tests.
When you push
, Google Code may request your password. If you get
sick of typing your password, add it to your .hg/hgrc
as follows:
[paths]
default = https://userid:password@code.google.com/p/project/