Show More
@@ -10,36 +10,41 b'' | |||||
10 | # [extension] |
|
10 | # [extension] | |
11 | # hgext.pager = |
|
11 | # hgext.pager = | |
12 | # |
|
12 | # | |
13 | # To set the pager that should be used, set the application variable: |
|
13 | # Run "hg help pager" to get info on configuration. | |
14 | # |
|
14 | ||
15 | # [pager] |
|
15 | '''browse command output with external pager | |
16 | # pager = LESS='FSRX' less |
|
16 | ||
17 | # |
|
17 | To set the pager that should be used, set the application variable: | |
18 | # If no pager is set, the pager extensions uses the environment |
|
18 | ||
19 | # variable $PAGER. If neither pager.pager, nor $PAGER is set, no pager |
|
19 | [pager] | |
20 | # is used. |
|
20 | pager = LESS='FSRX' less | |
21 | # |
|
21 | ||
22 | # If you notice "BROKEN PIPE" error messages, you can disable them |
|
22 | If no pager is set, the pager extensions uses the environment | |
23 | # by setting: |
|
23 | variable $PAGER. If neither pager.pager, nor $PAGER is set, no pager | |
24 | # |
|
24 | is used. | |
25 | # [pager] |
|
25 | ||
26 | # quiet = True |
|
26 | If you notice "BROKEN PIPE" error messages, you can disable them | |
27 | # |
|
27 | by setting: | |
28 | # You can disable the pager for certain commands by adding them to the |
|
28 | ||
29 | # pager.ignore list: |
|
29 | [pager] | |
30 | # |
|
30 | quiet = True | |
31 | # [pager] |
|
31 | ||
32 | # ignore = version, help, update |
|
32 | You can disable the pager for certain commands by adding them to the | |
33 | # |
|
33 | pager.ignore list: | |
34 | # You can also enable the pager only for certain commands using pager.attend: |
|
34 | ||
35 | # |
|
35 | [pager] | |
36 | # [pager] |
|
36 | ignore = version, help, update | |
37 | # attend = log |
|
37 | ||
38 | # |
|
38 | You can also enable the pager only for certain commands using pager.attend: | |
39 | # If pager.attend is present, pager.ignore will be ignored. |
|
39 | ||
40 | # |
|
40 | [pager] | |
41 | # To ignore global commands like 'hg version' or 'hg help', you have to specify them |
|
41 | attend = log | |
42 | # in the global .hgrc |
|
42 | ||
|
43 | If pager.attend is present, pager.ignore will be ignored. | |||
|
44 | ||||
|
45 | To ignore global commands like "hg version" or "hg help", you have to specify | |||
|
46 | them in the global .hgrc | |||
|
47 | ''' | |||
43 |
|
48 | |||
44 | import sys, os, signal |
|
49 | import sys, os, signal | |
45 | from mercurial import dispatch |
|
50 | from mercurial import dispatch |
General Comments 0
You need to be logged in to leave comments.
Login now