mercurial List of commands Exchanging changesets with remote repos


  • archive: create an unversioned archive of a repository revision
  • bundle: create a changegroup file
  • clone: make a copy of an existing repository
  • export: dump the header and diffs for one or more changesets
  • graft: copy changes from other branches onto the current branch
  • incoming: show new changesets found in source
  • import, patch: import an ordered set of patches
  • init: create a new repository in the given directory
  • outgoing: show changesets not found in the destination
  • phase: set or show the current phase name
  • pull: pull changes from the specified source
  • push: push changes to the specified destination
  • recover: roll back an interrupted transaction
  • rollback: roll back the last transaction (DANGEROUS) (DEPRECATED)
  • serve: start stand-alone webserver
  • unbundle: apply one or more changegroup files