Show More
@@ -52,6 +52,10 b' Source: contrib\\tcsh_completion_build.sh' | |||
|
52 | 52 | Source: contrib\hgk; DestDir: {app}/Contrib; DestName: hgk.tcl |
|
53 | 53 | Source: contrib\xml.rnc; DestDir: {app}/Contrib |
|
54 | 54 | Source: contrib\shrink-revlog.py; DestDir: {app}/Contrib |
|
55 | Source: contrib\mercurial.el; DestDir: {app}/Contrib | |
|
56 | Source: contrib\mq.el; DestDir: {app}/Contrib | |
|
57 | Source: contrib\hgweb.fcgi; DestDir: {app}/Contrib | |
|
58 | Source: contrib\hgweb.wsgi; DestDir: {app}/Contrib | |
|
55 | 59 | Source: contrib\win32\ReadMe.html; DestDir: {app}; Flags: isreadme |
|
56 | 60 | Source: contrib\mergetools.hgrc; DestDir: {tmp}; |
|
57 | 61 | Source: contrib\win32\mercurial.ini; DestDir: {app}; DestName: Mercurial.ini; Check: CheckFile; AfterInstall: ConcatenateFiles; |
@@ -18,7 +18,7 b' It is possible to use bookmark names in ' | |||
|
18 | 18 | By default, when several bookmarks point to the same changeset, they |
|
19 | 19 | will all move forward together. It is possible to obtain a more |
|
20 | 20 | git-like experience by adding the following configuration option to |
|
21 | your .hgrc:: | |
|
21 | your configuration file:: | |
|
22 | 22 | |
|
23 | 23 | [bookmarks] |
|
24 | 24 | track.current = True |
@@ -29,7 +29,7 b' also available. Effects are rendered wit' | |||
|
29 | 29 | function (aka ANSI escape codes). This module also provides the |
|
30 | 30 | render_text function, which can be used to add effects to any text. |
|
31 | 31 | |
|
32 |
Default effects may be overridden from |
|
|
32 | Default effects may be overridden from your configuration file:: | |
|
33 | 33 | |
|
34 | 34 | [color] |
|
35 | 35 | status.modified = blue bold underline red_background |
@@ -19,7 +19,7 b' repository, and needs to be enabled.' | |||
|
19 | 19 | |
|
20 | 20 | The :hg:`view` command will launch the hgk Tcl script. For this command |
|
21 | 21 | to work, hgk must be in your search path. Alternately, you can specify |
|
22 |
the path to hgk in your |
|
|
22 | the path to hgk in your configuration file:: | |
|
23 | 23 | |
|
24 | 24 | [hgk] |
|
25 | 25 | path=/location/of/hgk |
@@ -5,7 +5,7 b'' | |||
|
5 | 5 | # This software may be used and distributed according to the terms of the |
|
6 | 6 | # GNU General Public License version 2 or any later version. |
|
7 | 7 | # |
|
8 |
# To load the extension, add it to your |
|
|
8 | # To load the extension, add it to your configuration file: | |
|
9 | 9 | # |
|
10 | 10 | # [extension] |
|
11 | 11 | # pager = |
@@ -46,7 +46,7 b' paged.' | |||
|
46 | 46 | If pager.attend is present, pager.ignore will be ignored. |
|
47 | 47 | |
|
48 | 48 | To ignore global commands like :hg:`version` or :hg:`help`, you have |
|
49 | to specify them in the global .hgrc | |
|
49 | to specify them in your user configuration file. | |
|
50 | 50 | ''' |
|
51 | 51 | |
|
52 | 52 | import sys, os, signal, shlex, errno |
@@ -1335,7 +1335,8 b' def debuginstall(ui):' | |||
|
1335 | 1335 | if patchproblems: |
|
1336 | 1336 | if ui.config('ui', 'patch'): |
|
1337 | 1337 | ui.write(_(" (Current patch tool may be incompatible with patch," |
|
1338 |
" or misconfigured. Please check your |
|
|
1338 | " or misconfigured. Please check your configuration" | |
|
1339 | " file)\n")) | |
|
1339 | 1340 | else: |
|
1340 | 1341 | ui.write(_(" Internal patcher failure, please report this error" |
|
1341 | 1342 | " to http://mercurial.selenic.com/bts/\n")) |
@@ -1351,10 +1352,12 b' def debuginstall(ui):' | |||
|
1351 | 1352 | if not cmdpath: |
|
1352 | 1353 | if editor == 'vi': |
|
1353 | 1354 | ui.write(_(" No commit editor set and can't find vi in PATH\n")) |
|
1354 |
ui.write(_(" (specify a commit editor in your |
|
|
1355 | ui.write(_(" (specify a commit editor in your configuration" | |
|
1356 | " file)\n")) | |
|
1355 | 1357 | else: |
|
1356 | 1358 | ui.write(_(" Can't find editor '%s' in PATH\n") % editor) |
|
1357 |
ui.write(_(" (specify a commit editor in your |
|
|
1359 | ui.write(_(" (specify a commit editor in your configuration" | |
|
1360 | " file)\n")) | |
|
1358 | 1361 | problems += 1 |
|
1359 | 1362 | |
|
1360 | 1363 | # check username |
@@ -1363,7 +1366,7 b' def debuginstall(ui):' | |||
|
1363 | 1366 | ui.username() |
|
1364 | 1367 | except util.Abort, e: |
|
1365 | 1368 | ui.write(" %s\n" % e) |
|
1366 |
ui.write(_(" (specify a username in your |
|
|
1369 | ui.write(_(" (specify a username in your configuration file)\n")) | |
|
1367 | 1370 | problems += 1 |
|
1368 | 1371 | |
|
1369 | 1372 | if not problems: |
@@ -2724,8 +2727,8 b' def paths(ui, repo, search=None):' | |||
|
2724 | 2727 | Show definition of symbolic path name NAME. If no name is given, |
|
2725 | 2728 | show definition of all available names. |
|
2726 | 2729 | |
|
2727 | Path names are defined in the [paths] section of | |
|
2728 |
``/etc/mercurial/ |
|
|
2730 | Path names are defined in the [paths] section of your | |
|
2731 | configuration file and in ``/etc/mercurial/hgrc``. If run inside a | |
|
2729 | 2732 | repository, ``.hg/hgrc`` is used, too. |
|
2730 | 2733 | |
|
2731 | 2734 | The path names ``default`` and ``default-push`` have a special |
@@ -2960,11 +2963,11 b' def resolve(ui, repo, *pats, **opts):' | |||
|
2960 | 2963 | """redo merges or set/view the merge status of files |
|
2961 | 2964 | |
|
2962 | 2965 | Merges with unresolved conflicts are often the result of |
|
2963 |
non-interactive merging using the ``internal:merge`` |
|
|
2964 |
or a command-line merge tool like ``diff3``. The resolve |
|
|
2965 |
is used to manage the files involved in a merge, after |
|
|
2966 |
has been run, and before :hg:`commit` is run (i.e. the |
|
|
2967 | directory must have two parents). | |
|
2966 | non-interactive merging using the ``internal:merge`` configuration | |
|
2967 | setting, or a command-line merge tool like ``diff3``. The resolve | |
|
2968 | command is used to manage the files involved in a merge, after | |
|
2969 | :hg:`merge` has been run, and before :hg:`commit` is run (i.e. the | |
|
2970 | working directory must have two parents). | |
|
2968 | 2971 | |
|
2969 | 2972 | The resolve command can be used in the following ways: |
|
2970 | 2973 |
@@ -25,5 +25,5 b' format for communicating changes.' | |||
|
25 | 25 | |
|
26 | 26 | To make Mercurial produce the git extended diff format, use the --git |
|
27 | 27 | option available for many commands, or set 'git = True' in the [diff] |
|
28 |
section of your |
|
|
29 | importing diffs in this format or using them in the mq extension. | |
|
28 | section of your configuration file. You do not need to set this option | |
|
29 | when importing diffs in this format or using them in the mq extension. |
@@ -8,7 +8,7 b' HG' | |||
|
8 | 8 | HGEDITOR |
|
9 | 9 | This is the name of the editor to run when committing. See EDITOR. |
|
10 | 10 | |
|
11 |
(deprecated, use |
|
|
11 | (deprecated, use configuration file) | |
|
12 | 12 | |
|
13 | 13 | HGENCODING |
|
14 | 14 | This overrides the default locale setting detected by Mercurial. |
@@ -29,13 +29,13 b' HGMERGE' | |||
|
29 | 29 | will be executed with three arguments: local file, remote file, |
|
30 | 30 | ancestor file. |
|
31 | 31 | |
|
32 |
(deprecated, use |
|
|
32 | (deprecated, use configuration file) | |
|
33 | 33 | |
|
34 | 34 | HGRCPATH |
|
35 |
A list of files or directories to search for |
|
|
36 |
separator is ":" on Unix, ";" on Windows. If HGRCPATH |
|
|
37 |
platform default search path is used. If empty, only |
|
|
38 | from the current repository is read. | |
|
35 | A list of files or directories to search for configuration | |
|
36 | files. Item separator is ":" on Unix, ";" on Windows. If HGRCPATH | |
|
37 | is not set, platform default search path is used. If empty, only | |
|
38 | the .hg/hgrc from the current repository is read. | |
|
39 | 39 | |
|
40 | 40 | For each element in HGRCPATH: |
|
41 | 41 | |
@@ -43,9 +43,9 b' HGRCPATH' | |||
|
43 | 43 | - otherwise, the file itself will be added |
|
44 | 44 | |
|
45 | 45 | HGPLAIN |
|
46 |
When set, this disables any |
|
|
47 |
Mercurial's default output. This includes encoding, |
|
|
48 | verbose mode, debug mode, quiet mode, tracebacks, and | |
|
46 | When set, this disables any configuration settings that might | |
|
47 | change Mercurial's default output. This includes encoding, | |
|
48 | defaults, verbose mode, debug mode, quiet mode, tracebacks, and | |
|
49 | 49 | localization. This can be useful when scripting against Mercurial |
|
50 | 50 | in the face of existing user configuration. |
|
51 | 51 | |
@@ -57,12 +57,12 b' HGUSER' | |||
|
57 | 57 | available values will be considered in this order: |
|
58 | 58 | |
|
59 | 59 | - HGUSER (deprecated) |
|
60 |
- |
|
|
60 | - configuration files from the HGRCPATH | |
|
61 | 61 | |
|
62 | 62 | - interactive prompt |
|
63 | 63 | - LOGNAME (with ``@hostname`` appended) |
|
64 | 64 | |
|
65 |
(deprecated, use |
|
|
65 | (deprecated, use configuration file) | |
|
66 | 66 | |
|
67 | 67 | |
|
68 | 68 | May be used as the author of a commit; see HGUSER. |
@@ -11,9 +11,9 b' for prime time; or they may alter some u' | |||
|
11 | 11 | Mercurial. It is thus up to the user to activate extensions as |
|
12 | 12 | needed. |
|
13 | 13 | |
|
14 | To enable the "foo" extension, either shipped with Mercurial or in | |
|
15 |
|
|
|
16 | this:: | |
|
14 | To enable the "foo" extension, either shipped with Mercurial or in the | |
|
15 | Python search path, create an entry for it in your configuration file, | |
|
16 | like this:: | |
|
17 | 17 | |
|
18 | 18 | [extensions] |
|
19 | 19 | foo = |
@@ -23,8 +23,8 b' You may also specify the full path to an' | |||
|
23 | 23 | [extensions] |
|
24 | 24 | myfeature = ~/.hgext/myfeature.py |
|
25 | 25 | |
|
26 |
To explicitly disable an extension enabled in a |
|
|
27 | scope, prepend its path with !:: | |
|
26 | To explicitly disable an extension enabled in a configuration file of | |
|
27 | broader scope, prepend its path with !:: | |
|
28 | 28 | |
|
29 | 29 | [extensions] |
|
30 | 30 | # disabling extension bar residing in /path/to/extension/bar.py |
@@ -35,11 +35,11 b' Some notes about using SSH with Mercuria' | |||
|
35 | 35 | Host * |
|
36 | 36 | Compression yes |
|
37 | 37 | |
|
38 |
Alternatively specify "ssh -C" as your ssh command in your |
|
|
39 | with the --ssh command line option. | |
|
38 | Alternatively specify "ssh -C" as your ssh command in your | |
|
39 | configuration file or with the --ssh command line option. | |
|
40 | 40 | |
|
41 |
These URLs can all be stored in your |
|
|
42 | [paths] section like so:: | |
|
41 | These URLs can all be stored in your configuration file with path | |
|
42 | aliases under the [paths] section like so:: | |
|
43 | 43 | |
|
44 | 44 | [paths] |
|
45 | 45 | alias1 = URL1 |
@@ -17,7 +17,7 b' hg debuginstall with no username' | |||
|
17 | 17 | Checking commit editor... |
|
18 | 18 | Checking username... |
|
19 | 19 | no username supplied (see "hg help config") |
|
20 |
(specify a username in your |
|
|
20 | (specify a username in your configuration file) | |
|
21 | 21 | 1 problems detected, please check your install! |
|
22 | 22 | |
|
23 | 23 | $ true |
General Comments 0
You need to be logged in to leave comments.
Login now