Mercurial Command Equivalents in RAD Studio

From RAD Studio
Jump to: navigation, search

Go Up to Mercurial Integration in the IDE

The following table lists some useful Mercurial commands that are now implemented, including a short description of the implementation inside RAD Studio.

Mercurial Command Equivalent RAD Studio Command

hg clone
(download a copy of the repository)

File > Open from Version Control > Mercurial
How To: Cloning a Copy of a Mercurial Repository.

hg add
(add a file to the local repository)

Project Manager | right-click a file| Mercurial > Commit | select Show unversioned files | select new files.
How To: Adding a File to Version Control.

hg commit
(send changes to the local repository)

Project Manager | right-click a file | Mercurial > Commit.
How To: Commit Changes to Version Control.

hg revert
(discard changes in working directory)

Project Manager | right-click a file | Mercurial > Revert.
How To: Reverting changes in a working directory.

hg log
(display commit history)

Do either of the following:

How To:

hg diff
(compare versions)

History tab | click the Differences tab.
How To: Diff (Compare) Versions of a File.

hg annotate
(blame)

History tab | click Annotate2.png (Annotate).
How To: Use the Annotation Feature.

See Also