add the specified files on the next commit
Add file contents to the index.
show changeset information by line for each file
backup workspace changes and metadata
make a copy of an existing repositoryNote repository Note that with hg, this copies everything from the parent, including all branches, and gives you a working copy of the default branch.
commit the specified files or all outstanding changes. Creates only a local change set.
diff repository (or selected files)
git diff / git diff --cached
hg export $ID
dump the header and diffs for one or more changesetsThis produces a file that entirely captures the contents of the change set specififed by $ID.The resulting file can be consumed by "hg import". (This is often useful for transporting changes between different workspaces and/or branches, etc.)
git format-patch <commits>
forget the specified files on the next commit
git reset <paths> / git checkout – <paths>
show a list of change sets that would be pulled.(with -v, also show list of files in each)
git fetch <remote> && git whatchanged ..<remote>/branch
create a new repository in the given directory
list active files(those changed in this workspace)
git diff --name-only <commits>
show revision history of entire repository
merge working directory with another revision
git merge/git pull
check for stylistic nits in active files(onbld extension)
show a list of change sets that would be pushed.(with -v, also show list of files in each)
show changes between ...
run pre-integration checks on this workspace(onbld extension)
diff workspace against its parent(onbld extension)
git diff <other branch>..
pull changes from the specified source("pull -u" to update as well)
git fetch / git pull
push changes to the specified destination
diff of the current patch and subsequent modifications(mq extension)
create a new patch(mq extension)
pop the current patch off the stack(mq extension)
push the next patch onto the stack(mq extension)
update the current patch(mq extension)
replace outgoing changesets with a single equivalent changeset(onbld extension)
git rebase -i
remove the specified files on the next commit
restore workspace from backup
start stand-alone webserver
show changed files in the working directory(One letter prefixes like the old cvs status)
summarize working directory state
update working directory (or switch revisions)updates local working copy from local repo.
creates an input file for webrev(1) that references the change set ID for the parent, and lists all the modified files. Usage:hg-active -w `pwd` > Active.txtwebrev txt webrev -w Active.txt
Not available separately to webrev
Exception files for "hg nits", etc.cddlchk.NOT, copyright.NOT, cstyle.NOT, ...Add file names to these files to cause "hg nits" to skip the (possibly lengthy) noise about them.