Chris@494: Chris@494:

Back to Topics


Chris@494: Chris@494: Chris@494:

Someone gave me a repository URL and asked me to clone it

Chris@494: Chris@494:

A Mercurial repository location is usually described by a URL, like Chris@494: that of a website.

Chris@494: Chris@494:

For example, the URL for the repository containing the source code for Chris@494: EasyMercurial itself is https://bitbucket.org/cannam/easyhg.

Chris@494: Chris@494:

To get a copy of the files in a repository, you need to clone the Chris@494: repository from the remote URL into a folder on your own computer. To Chris@494: do this,

Chris@494: Chris@494:

1. click the Open toolbar button or use File -> Open

Chris@494: Chris@494:

Chris@494: Chris@494:

2. select “Remote Repository” as the thing you want to open

Chris@494: Chris@494:

3. enter the repository URL into the URL field

Chris@494: Chris@494:

4. give the name of a folder on your local computer to clone into – Chris@494: this folder will be created for you, so it shouldn't be one that already Chris@494: exists

Chris@494: Chris@494:

5. click OK

Chris@494: Chris@494:

If the remote repository has restricted access, you may be asked to Chris@494: provide a username and password to log in to the server it is hosted Chris@494: on. If the repository is large, you may have to wait a while for all the Chris@494: data to be transferred.

Chris@494: Chris@494:

Provided the clone has been successful, you should now have a local Chris@494: repository to work in.

Chris@494: Chris@494:

Back to Topics