<type>documentation</type>
<domain>versioncontrol</domain>
<id>hg</id>
<title>Mercurial</title>
<date>$Date: 2006-05-24 22:53:07 -0400 (Wed, 24 May 2006) $</date>
<version>$Revision: 13098 $</version>
<product>pro+</product>

Wing's Mercurial integration requires the ``hg`` command line executable to be installed
separately from Wing. Please see https://www.mercurial-scm.org/ for information about
Mercurial. The ``hg`` executable may either be in your path or set with the `Version
Control > Mercurial > Mercurial Executable
<script:show_preferences_gui#prefname="versioncontrol.hg.executable">`__ preference.

The Mercurial integration defines the following commands, in addition to those documented in
`Common Version Control Operations <ref:versioncontrol/common-operations>`__:

**Resolve** marks merge conflicts in a file to be resolved, by running ``hg resolve -m``.

**Annotate** shows the revision number for every line in a file.

**Pull Changes** fetches changes from a remote repository to the local repository and optionally
updates the working directory.

**Update** updates the entire working directory with changes from the local repository.

**Merge** merges changes in the local repository into the working directory.

**Push Changes** pushes changes in the local repository to a remote repository.

