You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Mercurial commands and configuration in the DCDT project.

Configuration

The hgrc file is for Mercurial configuration. On Windows it is in the .hg directory in the top level of a local repository clone, and on Linux/Mac it is in ~/.hg.

In Windows, Mercurial is also configured with %USERPROFILE%\Mercurial.ini.

Since development is done on a personal branch, changesets initially need to be pushed to one's personal repository. It is therefore best practice to set the default push location as a personal repository. Set the default path as the URL of your personal repository.

default = https://code.google.com/r/<personal_repo_name>/

 

Interacting with the main repository

Pull from the main repository just before a code review

hg pull https://code.google.com/p/direct-certificate-discovery-tool/

Push to the main repository after all code reviews are done

hg push -r <revision[s]> https://code.google.com/p/direct-certificate-discovery-tool/
  • No labels