Show More
@@ -577,7 +577,7 b' def clone(ui, source, dest=None, **opts)' | |||||
577 |
|
577 | |||
578 | It is possible to specify an ssh:// URL as the destination, but no |
|
578 | It is possible to specify an ssh:// URL as the destination, but no | |
579 | .hg/hgrc and working directory will be created on the remote side. |
|
579 | .hg/hgrc and working directory will be created on the remote side. | |
580 |
Look at the help text for |
|
580 | Look at the help text for URLs for important details about ssh:// URLs. | |
581 |
|
581 | |||
582 | For efficiency, hardlinks are used for cloning whenever the source |
|
582 | For efficiency, hardlinks are used for cloning whenever the source | |
583 | and destination are on the same filesystem (note this applies only |
|
583 | and destination are on the same filesystem (note this applies only | |
@@ -2203,7 +2203,7 b' def push(ui, repo, dest=None, **opts):' | |||||
2203 | If -r is used, the named changeset and all its ancestors will be pushed |
|
2203 | If -r is used, the named changeset and all its ancestors will be pushed | |
2204 | to the remote repository. |
|
2204 | to the remote repository. | |
2205 |
|
2205 | |||
2206 |
Look at the help text for |
|
2206 | Look at the help text for URLs for important details about ssh:// URLs. | |
2207 | If DESTINATION is omitted, a default path will be used. |
|
2207 | If DESTINATION is omitted, a default path will be used. | |
2208 | See 'hg help urls' for more information. |
|
2208 | See 'hg help urls' for more information. | |
2209 | """ |
|
2209 | """ |
@@ -349,7 +349,7 b' PYTHONPATH::' | |||||
349 | - user: Any text. Returns the user portion of an email address. |
|
349 | - user: Any text. Returns the user portion of an email address. | |
350 | ''')), |
|
350 | ''')), | |
351 |
|
351 | |||
352 |
(['urls'], _('U |
|
352 | (['urls'], _('URL Paths'), | |
353 | _(r''' |
|
353 | _(r''' | |
354 | Valid URLs are of the form: |
|
354 | Valid URLs are of the form: | |
355 |
|
355 | |||
@@ -384,18 +384,18 b' PYTHONPATH::' | |||||
384 | Alternatively specify "ssh -C" as your ssh command in your hgrc or |
|
384 | Alternatively specify "ssh -C" as your ssh command in your hgrc or | |
385 | with the --ssh command line option. |
|
385 | with the --ssh command line option. | |
386 |
|
386 | |||
387 |
These |
|
387 | These URLs can all be stored in your hgrc with path aliases under the | |
388 | [paths] section like so: |
|
388 | [paths] section like so: | |
389 | [paths] |
|
389 | [paths] | |
390 | alias1 = URL1 |
|
390 | alias1 = URL1 | |
391 | alias2 = URL2 |
|
391 | alias2 = URL2 | |
392 | ... |
|
392 | ... | |
393 |
|
393 | |||
394 |
You can then use the alias for any command that uses a |
|
394 | You can then use the alias for any command that uses a URL (for example | |
395 | 'hg pull alias1' would pull from the 'alias1' path). |
|
395 | 'hg pull alias1' would pull from the 'alias1' path). | |
396 |
|
396 | |||
397 | Two path aliases are special because they are used as defaults |
|
397 | Two path aliases are special because they are used as defaults | |
398 |
when you do not provide the |
|
398 | when you do not provide the URL to a command: | |
399 |
|
399 | |||
400 | default: |
|
400 | default: | |
401 | When you create a repository with hg clone, the clone command saves |
|
401 | When you create a repository with hg clone, the clone command saves |
@@ -207,7 +207,7 b' additional help topics:' | |||||
207 | multirevs Specifying Multiple Revisions |
|
207 | multirevs Specifying Multiple Revisions | |
208 | diffs Diff Formats |
|
208 | diffs Diff Formats | |
209 | templating Template Usage |
|
209 | templating Template Usage | |
210 |
urls U |
|
210 | urls URL Paths | |
211 |
|
211 | |||
212 | use "hg -v help" to show aliases and global options |
|
212 | use "hg -v help" to show aliases and global options | |
213 | Mercurial Distributed SCM |
|
213 | Mercurial Distributed SCM | |
@@ -272,7 +272,7 b' additional help topics:' | |||||
272 | multirevs Specifying Multiple Revisions |
|
272 | multirevs Specifying Multiple Revisions | |
273 | diffs Diff Formats |
|
273 | diffs Diff Formats | |
274 | templating Template Usage |
|
274 | templating Template Usage | |
275 |
urls U |
|
275 | urls URL Paths | |
276 |
|
276 | |||
277 | use "hg -v help" to show aliases and global options |
|
277 | use "hg -v help" to show aliases and global options | |
278 | %% not tested: --debugger |
|
278 | %% not tested: --debugger |
@@ -98,7 +98,7 b' additional help topics:' | |||||
98 | multirevs Specifying Multiple Revisions |
|
98 | multirevs Specifying Multiple Revisions | |
99 | diffs Diff Formats |
|
99 | diffs Diff Formats | |
100 | templating Template Usage |
|
100 | templating Template Usage | |
101 |
urls U |
|
101 | urls URL Paths | |
102 |
|
102 | |||
103 | use "hg -v help" to show aliases and global options |
|
103 | use "hg -v help" to show aliases and global options | |
104 | add add the specified files on the next commit |
|
104 | add add the specified files on the next commit | |
@@ -159,7 +159,7 b' additional help topics:' | |||||
159 | multirevs Specifying Multiple Revisions |
|
159 | multirevs Specifying Multiple Revisions | |
160 | diffs Diff Formats |
|
160 | diffs Diff Formats | |
161 | templating Template Usage |
|
161 | templating Template Usage | |
162 |
urls U |
|
162 | urls URL Paths | |
163 | hg add [OPTION]... [FILE]... |
|
163 | hg add [OPTION]... [FILE]... | |
164 |
|
164 | |||
165 | add the specified files on the next commit |
|
165 | add the specified files on the next commit |
General Comments 0
You need to be logged in to leave comments.
Login now