Set up a local Mercurial repository

Last modified: 11 February 2024

Although Mercurial provides high flexibility in arranging data and your work with repositories, the following scenarios are most commonly used for setting up a local Mercurial repository:

  • Clone an existing remote repository and create a new project with the downloaded data.

  • Create a local repository which you can push to a remote location later, if necessary.