Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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.

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

  

Interacting with the main repository

Pull from the main repository just before a code review

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

Push to the main repository after all code reviews are done

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