Parent
hg parents [-r REV] [FILE]
A parent revision serves as a baseline for defining a set of changes.
Such a set of changes can either be a changeset in the repository or the local modifications in the working directory.
The parent revision(s) of the working directory will naturally be used as the parent revision(s) of the changeset created by committing the local modifications.
Use update (with option --clean if needed) to switch the working directory to a different parent revision.
If hg parents (without arguments) shows two parents, you're merging.
Help text: http://www.selenic.com/mercurial/hg.1.html#parents
