dotfiles

Topics

configConfiguration Files
datesDate Formats
diffsDiff Formats
environmentEnvironment Variables
extensionsUsing Additional Features
filesetsSpecifying File Sets
glossaryGlossary
hgignoreSyntax for Mercurial Ignore Files
hgwebConfiguring hgweb
merge-toolsMerge Tools
multirevsSpecifying Multiple Revisions
patternsFile Name Patterns
phasesWorking with Phases
revisionsSpecifying Single Revisions
revsetsSpecifying Revision Sets
subreposSubrepositories
templatingTemplate Usage
urlsURL Paths

Main Commands

addadd the specified files on the next commit
annotateshow changeset information by line for each file
clonemake a copy of an existing repository
commitcommit the specified files or all outstanding changes
diffdiff repository (or selected files)
exportdump the header and diffs for one or more changesets
forgetforget the specified files on the next commit
initcreate a new repository in the given directory
logshow revision history of entire repository or files
mergemerge working directory with another revision
phaseset or show the current phase name
pullpull changes from the specified source
pushpush changes to the specified destination
removeremove the specified files on the next commit
servestart stand-alone webserver
statusshow changed files in the working directory
summarysummarize working directory state
updateupdate working directory (or switch revisions)

Other Commands

addremoveadd all new files, delete all missing files
archivecreate an unversioned archive of a repository revision
backoutreverse effect of earlier changeset
bisectsubdivision search of changesets
bookmarkstrack a line of development with movable markers
branchset or show the current branch name
brancheslist repository named branches
bundlecreate a changegroup file
catoutput the current or given revision of files
copymark files as copied for the next commit
graftcopy changes from other branches onto the current branch
grepsearch for a pattern in specified files and revisions
headsshow current repository heads or show branch heads
helpshow help for a given topic or a help overview
identifyidentify the working copy or specified revision
importimport an ordered set of patches
incomingshow new changesets found in source
locatelocate files matching specific patterns
manifestoutput the current or given revision of the project manifest
outgoingshow changesets not found in the destination
parentsshow the parents of the working directory or revision
pathsshow aliases for remote repositories
recoverroll back an interrupted transaction
renamerename files; equivalent of copy + remove
resolveredo merges or set/view the merge status of files
revertrestore files to their checkout state
rollbackroll back the last transaction (dangerous)
rootprint the root (top) of the current working directory
showconfigshow combined config settings from all hgrc files
tagadd one or more tags for the current or given revision
tagslist repository tags
tipshow the tip revision
unbundleapply one or more changegroup files
verifyverify the integrity of the repository
versionoutput version and copyright information