Chris@494
|
1 {Opening and initialising things}
|
Chris@494
|
2
|
Chris@494
|
3 Someone gave me a repository URL and asked me to clone it
|
Chris@494
|
4
|
Chris@494
|
5 A Mercurial repository location is usually described by a URL, like
|
Chris@494
|
6 that of a website.
|
Chris@494
|
7
|
Chris@494
|
8 For example, the URL for the repository containing the source code for
|
Chris@494
|
9 EasyMercurial itself is @https://bitbucket.org/cannam/easyhg@.
|
Chris@494
|
10
|
Chris@494
|
11 To get a copy of the files in a repository, you need to _clone_ the
|
Chris@494
|
12 repository from the remote URL into a folder on your own computer. To
|
Chris@494
|
13 do this,
|
Chris@494
|
14
|
Chris@494
|
15 *1. Click the Open toolbar button or use File -> Open*
|
Chris@494
|
16
|
Chris@495
|
17 #openremote50
|
Chris@494
|
18
|
Chris@495
|
19 *2. Select "Remote repository" as the thing you want to open*
|
Chris@494
|
20
|
Chris@494
|
21 *3. Enter the repository URL into the URL field*
|
Chris@494
|
22
|
Chris@494
|
23 *4. Give the name of a folder on your local computer to clone into* --
|
Chris@494
|
24 this folder will be created for you, so it shouldn't be one that already
|
Chris@494
|
25 exists
|
Chris@494
|
26
|
Chris@494
|
27 *5. Click OK*
|
Chris@494
|
28
|
Chris@494
|
29 If the remote repository has restricted access, you may be asked to
|
Chris@494
|
30 provide a username and password to log in to the server it is hosted
|
Chris@494
|
31 on. If the repository is large, you may have to wait a while for all the
|
Chris@494
|
32 data to be transferred.
|
Chris@494
|
33
|
Chris@494
|
34 Provided the clone has been successful, you should now have a local
|
Chris@495
|
35 repository to start working in.
|
Chris@494
|
36
|
Chris@495
|
37 * Note: the equivalent Mercurial command for this is *hg clone*
|