Cloning an External Mercurial Repository

See Also

The IDE enables you to clone an external Mercurial Repository and to make it available within the IDE. You effectively create a copy or clone of the entire repository to work with in the IDE. To do so, you need to be able to access a Mercurial repository which you have read privileges for.

To clone a Mercurial Repository:

  1. Choose Team > Mercurial > Clone Other from the IDE's main menu. The Mercurial Clone Other wizard opens.
  2. In the Mercurial Repository panel of the wizard, enter a URL that contains the connection protocol and the location of the repository.
  3. Click Next.
  4. In step 2 of the wizard, Clone External Repository, specify the default pull and push paths to the repository.
  5. In step 3 of the wizard, Destination Directory, specify the Parent directory into which you want to place the Clone of the repository. Alternately, you can click the Browse button to navigate to the desired directory on your system.
  6. Specify the Clone Name.
  7. Click Finish. The IDE initiates the clone action and the IDE's status bar indicates the progress of the files downloading from the repository to your local working directory. You can also view files being cloned from the Output window (Ctrl-4).

Notes:

The IDE supports the following Mercurial URLs:

ProtocolAccess MethodExample
file Direct repository access (on local disk) file:///repository_path
http Access via WebDAV protocol to a Mercurial-aware server http://[username[:password]@]hostname/repository_path
https Access via HTTP protocol with SSL encryption https://[username[:password]@]hostname/repository_path
static-http Access via HTTP also, albeit slower, allows access to a Mercurial repository where you simply use a web server to publish the .hg directory as static content static-http://hostname/repository_path
ssh Access via SSH ssh://hostname/repository_path

Notes: Using SSH with Mercurial

See Also
Working with Mercurial

Legal Notices