equal
deleted
inserted
replaced
5 http://[user[:pass]@]host[:port]/[path][#revision] |
5 http://[user[:pass]@]host[:port]/[path][#revision] |
6 https://[user[:pass]@]host[:port]/[path][#revision] |
6 https://[user[:pass]@]host[:port]/[path][#revision] |
7 ssh://[user[:pass]@]host[:port]/[path][#revision] |
7 ssh://[user[:pass]@]host[:port]/[path][#revision] |
8 |
8 |
9 Paths in the local filesystem can either point to Mercurial |
9 Paths in the local filesystem can either point to Mercurial |
10 repositories or to bundle files (as created by 'hg bundle' or 'hg |
10 repositories or to bundle files (as created by :hg:`bundle` or :hg:` |
11 incoming --bundle'). |
11 incoming --bundle`). |
12 |
12 |
13 An optional identifier after # indicates a particular branch, tag, or |
13 An optional identifier after # indicates a particular branch, tag, or |
14 changeset to use from the remote repository. See also 'hg help |
14 changeset to use from the remote repository. See also :hg:`help |
15 revisions'. |
15 revisions`. |
16 |
16 |
17 Some features, such as pushing to http:// and https:// URLs are only |
17 Some features, such as pushing to http:// and https:// URLs are only |
18 possible if the feature is explicitly enabled on the remote Mercurial |
18 possible if the feature is explicitly enabled on the remote Mercurial |
19 server. |
19 server. |
20 |
20 |
45 alias1 = URL1 |
45 alias1 = URL1 |
46 alias2 = URL2 |
46 alias2 = URL2 |
47 ... |
47 ... |
48 |
48 |
49 You can then use the alias for any command that uses a URL (for |
49 You can then use the alias for any command that uses a URL (for |
50 example 'hg pull alias1' will be treated as 'hg pull URL1'). |
50 example :hg:`pull alias1` will be treated as :hg:`pull URL1`). |
51 |
51 |
52 Two path aliases are special because they are used as defaults when |
52 Two path aliases are special because they are used as defaults when |
53 you do not provide the URL to a command: |
53 you do not provide the URL to a command: |
54 |
54 |
55 default: |
55 default: |