document updated 13 years ago, on Feb 28, 2011
Mercurial man pages:
Top-level man pages
Commands
- hg add — add the specified files on the next commit
- hg addremove — add all new files, delete all missing files
- hg annotate — show changeset information by line for each file
- hg archive — create an unversioned archive of a repository revision
- hg backout — reverse effect of earlier changeset
- hg bisect — subdivision search of changesets
- hg bookmarks —
- hg branch — set or show the current branch name
- hg branches — list repository named branches
- hg bundle — create a changegroup file
- hg cat — output the current or given revision of files
- hg clone — make a copy of an existing repository
- hg commit — commit the specified files or all outstanding changes
- hg copy — mark files as copied for the next commit
- hg diff — diff repository (or selected files)
- hg export — dump the header and diffs for one or more changesets
- hg forget — forget the specified files on the next commit
- hg grep — search for a pattern in specified files and revisions
- hg heads — show current repository heads or show branch heads
- hg help — show help for a given topic or a help overview
- hg identify — identify the working copy or specified revision
- hg import — import an ordered set of patches
- hg incoming — show new changesets found in source
- hg init — create a new repository in the given directory
- hg locate — locate files matching specific patterns
- hg log — show revision history of entire repository or files
- hg manifest — output the current or given revision of the project manifest
- hg merge — merge working directory with another revision
- hg outgoing — show changesets not found in the destination
- hg parents — show the parents of the working directory or revision
- hg paths — show aliases for remote repositories
- hg pull — pull changes from the specified source
- hg push — push changes to the specified destination
- hg recover — roll back an interrupted transaction
- hg remove — remove the specified files on the next commit
- hg rename — rename files; equivalent of copy + remove
- hg resolve — redo merges or set/view the merge status of files
- hg revert — restore individual files or directories to an earlier state
- hg rollback — roll back the last transaction (dangerous)
- hg root —print the root (top) of the current working directory
- hg serve — start stand-alone webserver
- hg showconfig — show combined config settings from all hgrc files
- hg status — show changed files in the working directory
- hg summary — summarize working directory state
- hg tag — add one or more tags for the current or given revision
- hg tags — list repository tags
- hg tip — show the tip revision
- hg unbundle — apply one or more changegroup files
- hg update — update working directory (or switch revisions)
- hg verify — verify the integrity of the repository
- hg version — output version and copyright information
extensions
- hg children — display child changesets
- hg churn — display statistics about repository history
- hg convert — import revisions from foreign VCS repositories into Mercurial
- hg email — send changesets as (a series of) patch emails
- hg fetch — pull, update and merge in one command
- hg glog — view revision graphs from a shell
- hg purge — delete untracked files from the working directory
- hg rebase — move sets of revisions to a different ancestor
- hg record — interactively select changes for commit/qrefresh
- hg relink — recreates hardlinks between repository clones
- hg share — share a common history between several working directories
- hg transplant — transplant changesets from another branch
- 'mq' extension