Show More
@@ -2349,10 +2349,16 b' def paths(ui, repo, search=None):' | |||
|
2349 | 2349 | Path names are defined in the [paths] section of /etc/mercurial/hgrc |
|
2350 | 2350 | and $HOME/.hgrc. If run inside a repository, .hg/hgrc is used, too. |
|
2351 | 2351 | |
|
2352 |
The names |
|
|
2353 | They are the locations used when pulling and pushing respectively | |
|
2354 | unless a location is specified. When cloning a repository, the | |
|
2355 | clone source is written as 'default' in .hg/hgrc. | |
|
2352 | The path names ``default`` and ``default-push`` have a special | |
|
2353 | meaning. When performing a push or pull operation, they are used | |
|
2354 | as fallbacks if no location is specified on the command-line. | |
|
2355 | When ``default-push`` is set, it will be used for push and | |
|
2356 | ``default`` will be used for pull; otherwise ``default`` is used | |
|
2357 | as the fallback for both. When cloning a repository, the clone | |
|
2358 | source is written as ``default`` in ``.hg/hgrc``. Note that | |
|
2359 | ``default`` and ``default-push`` apply to all inbound (e.g. ``hg | |
|
2360 | incoming``) and outbound (e.g. ``hg outgoing``, ``hg email`` and | |
|
2361 | ``hg bundle``) operations. | |
|
2356 | 2362 | |
|
2357 | 2363 | See 'hg help urls' for more information. |
|
2358 | 2364 | """ |
General Comments 0
You need to be logged in to leave comments.
Login now