##// END OF EJS Templates
pager: use absolute_import
Augie Fackler -
r28320:63c2864a default
parent child Browse files
Show More
@@ -1,158 +1,170
1 # pager.py - display output using a pager
1 # pager.py - display output using a pager
2 #
2 #
3 # Copyright 2008 David Soria Parra <dsp@php.net>
3 # Copyright 2008 David Soria Parra <dsp@php.net>
4 #
4 #
5 # This software may be used and distributed according to the terms of the
5 # This software may be used and distributed according to the terms of the
6 # GNU General Public License version 2 or any later version.
6 # GNU General Public License version 2 or any later version.
7 #
7 #
8 # To load the extension, add it to your configuration file:
8 # To load the extension, add it to your configuration file:
9 #
9 #
10 # [extension]
10 # [extension]
11 # pager =
11 # pager =
12 #
12 #
13 # Run "hg help pager" to get info on configuration.
13 # Run "hg help pager" to get info on configuration.
14
14
15 '''browse command output with an external pager
15 '''browse command output with an external pager
16
16
17 To set the pager that should be used, set the application variable::
17 To set the pager that should be used, set the application variable::
18
18
19 [pager]
19 [pager]
20 pager = less -FRX
20 pager = less -FRX
21
21
22 If no pager is set, the pager extensions uses the environment variable
22 If no pager is set, the pager extensions uses the environment variable
23 $PAGER. If neither pager.pager, nor $PAGER is set, no pager is used.
23 $PAGER. If neither pager.pager, nor $PAGER is set, no pager is used.
24
24
25 You can disable the pager for certain commands by adding them to the
25 You can disable the pager for certain commands by adding them to the
26 pager.ignore list::
26 pager.ignore list::
27
27
28 [pager]
28 [pager]
29 ignore = version, help, update
29 ignore = version, help, update
30
30
31 You can also enable the pager only for certain commands using
31 You can also enable the pager only for certain commands using
32 pager.attend. Below is the default list of commands to be paged::
32 pager.attend. Below is the default list of commands to be paged::
33
33
34 [pager]
34 [pager]
35 attend = annotate, cat, diff, export, glog, log, qdiff
35 attend = annotate, cat, diff, export, glog, log, qdiff
36
36
37 Setting pager.attend to an empty value will cause all commands to be
37 Setting pager.attend to an empty value will cause all commands to be
38 paged.
38 paged.
39
39
40 If pager.attend is present, pager.ignore will be ignored.
40 If pager.attend is present, pager.ignore will be ignored.
41
41
42 Lastly, you can enable and disable paging for individual commands with
42 Lastly, you can enable and disable paging for individual commands with
43 the attend-<command> option. This setting takes precedence over
43 the attend-<command> option. This setting takes precedence over
44 existing attend and ignore options and defaults::
44 existing attend and ignore options and defaults::
45
45
46 [pager]
46 [pager]
47 attend-cat = false
47 attend-cat = false
48
48
49 To ignore global commands like :hg:`version` or :hg:`help`, you have
49 To ignore global commands like :hg:`version` or :hg:`help`, you have
50 to specify them in your user configuration file.
50 to specify them in your user configuration file.
51
51
52 To control whether the pager is used at all for an individual command,
52 To control whether the pager is used at all for an individual command,
53 you can use --pager=<value>::
53 you can use --pager=<value>::
54
54
55 - use as needed: `auto`.
55 - use as needed: `auto`.
56 - require the pager: `yes` or `on`.
56 - require the pager: `yes` or `on`.
57 - suppress the pager: `no` or `off` (any unrecognized value
57 - suppress the pager: `no` or `off` (any unrecognized value
58 will also work).
58 will also work).
59
59
60 '''
60 '''
61 from __future__ import absolute_import
61
62
62 import atexit, sys, os, signal, subprocess
63 import atexit
63 from mercurial import commands, dispatch, util, extensions, cmdutil
64 import os
65 import signal
66 import subprocess
67 import sys
68
69 from mercurial import (
70 cmdutil,
71 commands,
72 dispatch,
73 extensions,
74 util,
75 )
64 from mercurial.i18n import _
76 from mercurial.i18n import _
65
77
66 # Note for extension authors: ONLY specify testedwith = 'internal' for
78 # Note for extension authors: ONLY specify testedwith = 'internal' for
67 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
79 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
68 # be specifying the version(s) of Mercurial they are tested with, or
80 # be specifying the version(s) of Mercurial they are tested with, or
69 # leave the attribute unspecified.
81 # leave the attribute unspecified.
70 testedwith = 'internal'
82 testedwith = 'internal'
71
83
72 def _runpager(ui, p):
84 def _runpager(ui, p):
73 pager = subprocess.Popen(p, shell=True, bufsize=-1,
85 pager = subprocess.Popen(p, shell=True, bufsize=-1,
74 close_fds=util.closefds, stdin=subprocess.PIPE,
86 close_fds=util.closefds, stdin=subprocess.PIPE,
75 stdout=sys.stdout, stderr=sys.stderr)
87 stdout=sys.stdout, stderr=sys.stderr)
76
88
77 # back up original file objects and descriptors
89 # back up original file objects and descriptors
78 olduifout = ui.fout
90 olduifout = ui.fout
79 oldstdout = sys.stdout
91 oldstdout = sys.stdout
80 stdoutfd = os.dup(sys.stdout.fileno())
92 stdoutfd = os.dup(sys.stdout.fileno())
81 stderrfd = os.dup(sys.stderr.fileno())
93 stderrfd = os.dup(sys.stderr.fileno())
82
94
83 # create new line-buffered stdout so that output can show up immediately
95 # create new line-buffered stdout so that output can show up immediately
84 ui.fout = sys.stdout = newstdout = os.fdopen(sys.stdout.fileno(), 'wb', 1)
96 ui.fout = sys.stdout = newstdout = os.fdopen(sys.stdout.fileno(), 'wb', 1)
85 os.dup2(pager.stdin.fileno(), sys.stdout.fileno())
97 os.dup2(pager.stdin.fileno(), sys.stdout.fileno())
86 if ui._isatty(sys.stderr):
98 if ui._isatty(sys.stderr):
87 os.dup2(pager.stdin.fileno(), sys.stderr.fileno())
99 os.dup2(pager.stdin.fileno(), sys.stderr.fileno())
88
100
89 @atexit.register
101 @atexit.register
90 def killpager():
102 def killpager():
91 if util.safehasattr(signal, "SIGINT"):
103 if util.safehasattr(signal, "SIGINT"):
92 signal.signal(signal.SIGINT, signal.SIG_IGN)
104 signal.signal(signal.SIGINT, signal.SIG_IGN)
93 pager.stdin.close()
105 pager.stdin.close()
94 ui.fout = olduifout
106 ui.fout = olduifout
95 sys.stdout = oldstdout
107 sys.stdout = oldstdout
96 # close new stdout while it's associated with pager; otherwise stdout
108 # close new stdout while it's associated with pager; otherwise stdout
97 # fd would be closed when newstdout is deleted
109 # fd would be closed when newstdout is deleted
98 newstdout.close()
110 newstdout.close()
99 # restore original fds: stdout is open again
111 # restore original fds: stdout is open again
100 os.dup2(stdoutfd, sys.stdout.fileno())
112 os.dup2(stdoutfd, sys.stdout.fileno())
101 os.dup2(stderrfd, sys.stderr.fileno())
113 os.dup2(stderrfd, sys.stderr.fileno())
102 pager.wait()
114 pager.wait()
103
115
104 def uisetup(ui):
116 def uisetup(ui):
105 if '--debugger' in sys.argv or not ui.formatted():
117 if '--debugger' in sys.argv or not ui.formatted():
106 return
118 return
107
119
108 def pagecmd(orig, ui, options, cmd, cmdfunc):
120 def pagecmd(orig, ui, options, cmd, cmdfunc):
109 p = ui.config("pager", "pager", os.environ.get("PAGER"))
121 p = ui.config("pager", "pager", os.environ.get("PAGER"))
110 usepager = False
122 usepager = False
111 always = util.parsebool(options['pager'])
123 always = util.parsebool(options['pager'])
112 auto = options['pager'] == 'auto'
124 auto = options['pager'] == 'auto'
113
125
114 if not p:
126 if not p:
115 pass
127 pass
116 elif always:
128 elif always:
117 usepager = True
129 usepager = True
118 elif not auto:
130 elif not auto:
119 usepager = False
131 usepager = False
120 else:
132 else:
121 attend = ui.configlist('pager', 'attend', attended)
133 attend = ui.configlist('pager', 'attend', attended)
122 ignore = ui.configlist('pager', 'ignore')
134 ignore = ui.configlist('pager', 'ignore')
123 cmds, _ = cmdutil.findcmd(cmd, commands.table)
135 cmds, _ = cmdutil.findcmd(cmd, commands.table)
124
136
125 for cmd in cmds:
137 for cmd in cmds:
126 var = 'attend-%s' % cmd
138 var = 'attend-%s' % cmd
127 if ui.config('pager', var):
139 if ui.config('pager', var):
128 usepager = ui.configbool('pager', var)
140 usepager = ui.configbool('pager', var)
129 break
141 break
130 if (cmd in attend or
142 if (cmd in attend or
131 (cmd not in ignore and not attend)):
143 (cmd not in ignore and not attend)):
132 usepager = True
144 usepager = True
133 break
145 break
134
146
135 setattr(ui, 'pageractive', usepager)
147 setattr(ui, 'pageractive', usepager)
136
148
137 if usepager:
149 if usepager:
138 ui.setconfig('ui', 'formatted', ui.formatted(), 'pager')
150 ui.setconfig('ui', 'formatted', ui.formatted(), 'pager')
139 ui.setconfig('ui', 'interactive', False, 'pager')
151 ui.setconfig('ui', 'interactive', False, 'pager')
140 if util.safehasattr(signal, "SIGPIPE"):
152 if util.safehasattr(signal, "SIGPIPE"):
141 signal.signal(signal.SIGPIPE, signal.SIG_DFL)
153 signal.signal(signal.SIGPIPE, signal.SIG_DFL)
142 _runpager(ui, p)
154 _runpager(ui, p)
143 return orig(ui, options, cmd, cmdfunc)
155 return orig(ui, options, cmd, cmdfunc)
144
156
145 # Wrap dispatch._runcommand after color is loaded so color can see
157 # Wrap dispatch._runcommand after color is loaded so color can see
146 # ui.pageractive. Otherwise, if we loaded first, color's wrapped
158 # ui.pageractive. Otherwise, if we loaded first, color's wrapped
147 # dispatch._runcommand would run without having access to ui.pageractive.
159 # dispatch._runcommand would run without having access to ui.pageractive.
148 def afterloaded(loaded):
160 def afterloaded(loaded):
149 extensions.wrapfunction(dispatch, '_runcommand', pagecmd)
161 extensions.wrapfunction(dispatch, '_runcommand', pagecmd)
150 extensions.afterloaded('color', afterloaded)
162 extensions.afterloaded('color', afterloaded)
151
163
152 def extsetup(ui):
164 def extsetup(ui):
153 commands.globalopts.append(
165 commands.globalopts.append(
154 ('', 'pager', 'auto',
166 ('', 'pager', 'auto',
155 _("when to paginate (boolean, always, auto, or never)"),
167 _("when to paginate (boolean, always, auto, or never)"),
156 _('TYPE')))
168 _('TYPE')))
157
169
158 attended = ['annotate', 'cat', 'diff', 'export', 'glog', 'log', 'qdiff']
170 attended = ['annotate', 'cat', 'diff', 'export', 'glog', 'log', 'qdiff']
@@ -1,171 +1,170
1 #require test-repo
1 #require test-repo
2
2
3 $ cd "$TESTDIR"/..
3 $ cd "$TESTDIR"/..
4
4
5 $ hg files 'set:(**.py)' | sed 's|\\|/|g' | xargs python contrib/check-py3-compat.py
5 $ hg files 'set:(**.py)' | sed 's|\\|/|g' | xargs python contrib/check-py3-compat.py
6 contrib/casesmash.py not using absolute_import
6 contrib/casesmash.py not using absolute_import
7 contrib/check-code.py not using absolute_import
7 contrib/check-code.py not using absolute_import
8 contrib/check-code.py requires print_function
8 contrib/check-code.py requires print_function
9 contrib/check-config.py not using absolute_import
9 contrib/check-config.py not using absolute_import
10 contrib/check-config.py requires print_function
10 contrib/check-config.py requires print_function
11 contrib/debugcmdserver.py not using absolute_import
11 contrib/debugcmdserver.py not using absolute_import
12 contrib/debugcmdserver.py requires print_function
12 contrib/debugcmdserver.py requires print_function
13 contrib/debugshell.py not using absolute_import
13 contrib/debugshell.py not using absolute_import
14 contrib/fixpax.py not using absolute_import
14 contrib/fixpax.py not using absolute_import
15 contrib/fixpax.py requires print_function
15 contrib/fixpax.py requires print_function
16 contrib/hgclient.py not using absolute_import
16 contrib/hgclient.py not using absolute_import
17 contrib/hgclient.py requires print_function
17 contrib/hgclient.py requires print_function
18 contrib/hgfixes/fix_bytes.py not using absolute_import
18 contrib/hgfixes/fix_bytes.py not using absolute_import
19 contrib/hgfixes/fix_bytesmod.py not using absolute_import
19 contrib/hgfixes/fix_bytesmod.py not using absolute_import
20 contrib/hgfixes/fix_leftover_imports.py not using absolute_import
20 contrib/hgfixes/fix_leftover_imports.py not using absolute_import
21 contrib/import-checker.py not using absolute_import
21 contrib/import-checker.py not using absolute_import
22 contrib/import-checker.py requires print_function
22 contrib/import-checker.py requires print_function
23 contrib/memory.py not using absolute_import
23 contrib/memory.py not using absolute_import
24 contrib/perf.py not using absolute_import
24 contrib/perf.py not using absolute_import
25 contrib/python-hook-examples.py not using absolute_import
25 contrib/python-hook-examples.py not using absolute_import
26 contrib/revsetbenchmarks.py not using absolute_import
26 contrib/revsetbenchmarks.py not using absolute_import
27 contrib/revsetbenchmarks.py requires print_function
27 contrib/revsetbenchmarks.py requires print_function
28 contrib/showstack.py not using absolute_import
28 contrib/showstack.py not using absolute_import
29 contrib/synthrepo.py not using absolute_import
29 contrib/synthrepo.py not using absolute_import
30 contrib/win32/hgwebdir_wsgi.py not using absolute_import
30 contrib/win32/hgwebdir_wsgi.py not using absolute_import
31 doc/check-seclevel.py not using absolute_import
31 doc/check-seclevel.py not using absolute_import
32 doc/gendoc.py not using absolute_import
32 doc/gendoc.py not using absolute_import
33 doc/hgmanpage.py not using absolute_import
33 doc/hgmanpage.py not using absolute_import
34 hgext/__init__.py not using absolute_import
34 hgext/__init__.py not using absolute_import
35 hgext/color.py not using absolute_import
35 hgext/color.py not using absolute_import
36 hgext/convert/__init__.py not using absolute_import
36 hgext/convert/__init__.py not using absolute_import
37 hgext/convert/bzr.py not using absolute_import
37 hgext/convert/bzr.py not using absolute_import
38 hgext/convert/common.py not using absolute_import
38 hgext/convert/common.py not using absolute_import
39 hgext/convert/convcmd.py not using absolute_import
39 hgext/convert/convcmd.py not using absolute_import
40 hgext/convert/cvs.py not using absolute_import
40 hgext/convert/cvs.py not using absolute_import
41 hgext/convert/cvsps.py not using absolute_import
41 hgext/convert/cvsps.py not using absolute_import
42 hgext/convert/darcs.py not using absolute_import
42 hgext/convert/darcs.py not using absolute_import
43 hgext/convert/filemap.py not using absolute_import
43 hgext/convert/filemap.py not using absolute_import
44 hgext/convert/git.py not using absolute_import
44 hgext/convert/git.py not using absolute_import
45 hgext/convert/gnuarch.py not using absolute_import
45 hgext/convert/gnuarch.py not using absolute_import
46 hgext/convert/hg.py not using absolute_import
46 hgext/convert/hg.py not using absolute_import
47 hgext/convert/monotone.py not using absolute_import
47 hgext/convert/monotone.py not using absolute_import
48 hgext/convert/p4.py not using absolute_import
48 hgext/convert/p4.py not using absolute_import
49 hgext/convert/subversion.py not using absolute_import
49 hgext/convert/subversion.py not using absolute_import
50 hgext/convert/transport.py not using absolute_import
50 hgext/convert/transport.py not using absolute_import
51 hgext/eol.py not using absolute_import
51 hgext/eol.py not using absolute_import
52 hgext/extdiff.py not using absolute_import
52 hgext/extdiff.py not using absolute_import
53 hgext/factotum.py not using absolute_import
53 hgext/factotum.py not using absolute_import
54 hgext/fetch.py not using absolute_import
54 hgext/fetch.py not using absolute_import
55 hgext/gpg.py not using absolute_import
55 hgext/gpg.py not using absolute_import
56 hgext/graphlog.py not using absolute_import
56 hgext/graphlog.py not using absolute_import
57 hgext/hgcia.py not using absolute_import
57 hgext/hgcia.py not using absolute_import
58 hgext/hgk.py not using absolute_import
58 hgext/hgk.py not using absolute_import
59 hgext/highlight/__init__.py not using absolute_import
59 hgext/highlight/__init__.py not using absolute_import
60 hgext/highlight/highlight.py not using absolute_import
60 hgext/highlight/highlight.py not using absolute_import
61 hgext/histedit.py not using absolute_import
61 hgext/histedit.py not using absolute_import
62 hgext/keyword.py not using absolute_import
62 hgext/keyword.py not using absolute_import
63 hgext/largefiles/__init__.py not using absolute_import
63 hgext/largefiles/__init__.py not using absolute_import
64 hgext/largefiles/basestore.py not using absolute_import
64 hgext/largefiles/basestore.py not using absolute_import
65 hgext/largefiles/lfcommands.py not using absolute_import
65 hgext/largefiles/lfcommands.py not using absolute_import
66 hgext/largefiles/lfutil.py not using absolute_import
66 hgext/largefiles/lfutil.py not using absolute_import
67 hgext/largefiles/localstore.py not using absolute_import
67 hgext/largefiles/localstore.py not using absolute_import
68 hgext/largefiles/overrides.py not using absolute_import
68 hgext/largefiles/overrides.py not using absolute_import
69 hgext/largefiles/proto.py not using absolute_import
69 hgext/largefiles/proto.py not using absolute_import
70 hgext/largefiles/remotestore.py not using absolute_import
70 hgext/largefiles/remotestore.py not using absolute_import
71 hgext/largefiles/reposetup.py not using absolute_import
71 hgext/largefiles/reposetup.py not using absolute_import
72 hgext/largefiles/uisetup.py not using absolute_import
72 hgext/largefiles/uisetup.py not using absolute_import
73 hgext/largefiles/wirestore.py not using absolute_import
73 hgext/largefiles/wirestore.py not using absolute_import
74 hgext/mq.py not using absolute_import
74 hgext/mq.py not using absolute_import
75 hgext/notify.py not using absolute_import
75 hgext/notify.py not using absolute_import
76 hgext/pager.py not using absolute_import
77 hgext/patchbomb.py not using absolute_import
76 hgext/patchbomb.py not using absolute_import
78 hgext/purge.py not using absolute_import
77 hgext/purge.py not using absolute_import
79 hgext/rebase.py not using absolute_import
78 hgext/rebase.py not using absolute_import
80 hgext/record.py not using absolute_import
79 hgext/record.py not using absolute_import
81 hgext/relink.py not using absolute_import
80 hgext/relink.py not using absolute_import
82 hgext/schemes.py not using absolute_import
81 hgext/schemes.py not using absolute_import
83 hgext/share.py not using absolute_import
82 hgext/share.py not using absolute_import
84 hgext/shelve.py not using absolute_import
83 hgext/shelve.py not using absolute_import
85 hgext/strip.py not using absolute_import
84 hgext/strip.py not using absolute_import
86 hgext/transplant.py not using absolute_import
85 hgext/transplant.py not using absolute_import
87 hgext/win32mbcs.py not using absolute_import
86 hgext/win32mbcs.py not using absolute_import
88 hgext/win32text.py not using absolute_import
87 hgext/win32text.py not using absolute_import
89 i18n/check-translation.py not using absolute_import
88 i18n/check-translation.py not using absolute_import
90 i18n/polib.py not using absolute_import
89 i18n/polib.py not using absolute_import
91 mercurial/cmdutil.py not using absolute_import
90 mercurial/cmdutil.py not using absolute_import
92 mercurial/commands.py not using absolute_import
91 mercurial/commands.py not using absolute_import
93 setup.py not using absolute_import
92 setup.py not using absolute_import
94 tests/filterpyflakes.py requires print_function
93 tests/filterpyflakes.py requires print_function
95 tests/generate-working-copy-states.py requires print_function
94 tests/generate-working-copy-states.py requires print_function
96 tests/get-with-headers.py requires print_function
95 tests/get-with-headers.py requires print_function
97 tests/heredoctest.py requires print_function
96 tests/heredoctest.py requires print_function
98 tests/hypothesishelpers.py not using absolute_import
97 tests/hypothesishelpers.py not using absolute_import
99 tests/hypothesishelpers.py requires print_function
98 tests/hypothesishelpers.py requires print_function
100 tests/killdaemons.py not using absolute_import
99 tests/killdaemons.py not using absolute_import
101 tests/md5sum.py not using absolute_import
100 tests/md5sum.py not using absolute_import
102 tests/mockblackbox.py not using absolute_import
101 tests/mockblackbox.py not using absolute_import
103 tests/printenv.py not using absolute_import
102 tests/printenv.py not using absolute_import
104 tests/readlink.py not using absolute_import
103 tests/readlink.py not using absolute_import
105 tests/readlink.py requires print_function
104 tests/readlink.py requires print_function
106 tests/revlog-formatv0.py not using absolute_import
105 tests/revlog-formatv0.py not using absolute_import
107 tests/run-tests.py not using absolute_import
106 tests/run-tests.py not using absolute_import
108 tests/seq.py not using absolute_import
107 tests/seq.py not using absolute_import
109 tests/seq.py requires print_function
108 tests/seq.py requires print_function
110 tests/silenttestrunner.py not using absolute_import
109 tests/silenttestrunner.py not using absolute_import
111 tests/silenttestrunner.py requires print_function
110 tests/silenttestrunner.py requires print_function
112 tests/sitecustomize.py not using absolute_import
111 tests/sitecustomize.py not using absolute_import
113 tests/svn-safe-append.py not using absolute_import
112 tests/svn-safe-append.py not using absolute_import
114 tests/svnxml.py not using absolute_import
113 tests/svnxml.py not using absolute_import
115 tests/test-ancestor.py requires print_function
114 tests/test-ancestor.py requires print_function
116 tests/test-atomictempfile.py not using absolute_import
115 tests/test-atomictempfile.py not using absolute_import
117 tests/test-batching.py not using absolute_import
116 tests/test-batching.py not using absolute_import
118 tests/test-batching.py requires print_function
117 tests/test-batching.py requires print_function
119 tests/test-bdiff.py not using absolute_import
118 tests/test-bdiff.py not using absolute_import
120 tests/test-bdiff.py requires print_function
119 tests/test-bdiff.py requires print_function
121 tests/test-context.py not using absolute_import
120 tests/test-context.py not using absolute_import
122 tests/test-context.py requires print_function
121 tests/test-context.py requires print_function
123 tests/test-demandimport.py not using absolute_import
122 tests/test-demandimport.py not using absolute_import
124 tests/test-demandimport.py requires print_function
123 tests/test-demandimport.py requires print_function
125 tests/test-dispatch.py not using absolute_import
124 tests/test-dispatch.py not using absolute_import
126 tests/test-dispatch.py requires print_function
125 tests/test-dispatch.py requires print_function
127 tests/test-doctest.py not using absolute_import
126 tests/test-doctest.py not using absolute_import
128 tests/test-duplicateoptions.py not using absolute_import
127 tests/test-duplicateoptions.py not using absolute_import
129 tests/test-duplicateoptions.py requires print_function
128 tests/test-duplicateoptions.py requires print_function
130 tests/test-filecache.py not using absolute_import
129 tests/test-filecache.py not using absolute_import
131 tests/test-filecache.py requires print_function
130 tests/test-filecache.py requires print_function
132 tests/test-filelog.py not using absolute_import
131 tests/test-filelog.py not using absolute_import
133 tests/test-filelog.py requires print_function
132 tests/test-filelog.py requires print_function
134 tests/test-hg-parseurl.py not using absolute_import
133 tests/test-hg-parseurl.py not using absolute_import
135 tests/test-hg-parseurl.py requires print_function
134 tests/test-hg-parseurl.py requires print_function
136 tests/test-hgweb-auth.py not using absolute_import
135 tests/test-hgweb-auth.py not using absolute_import
137 tests/test-hgweb-auth.py requires print_function
136 tests/test-hgweb-auth.py requires print_function
138 tests/test-hgwebdir-paths.py not using absolute_import
137 tests/test-hgwebdir-paths.py not using absolute_import
139 tests/test-hybridencode.py not using absolute_import
138 tests/test-hybridencode.py not using absolute_import
140 tests/test-hybridencode.py requires print_function
139 tests/test-hybridencode.py requires print_function
141 tests/test-lrucachedict.py not using absolute_import
140 tests/test-lrucachedict.py not using absolute_import
142 tests/test-lrucachedict.py requires print_function
141 tests/test-lrucachedict.py requires print_function
143 tests/test-manifest.py not using absolute_import
142 tests/test-manifest.py not using absolute_import
144 tests/test-minirst.py not using absolute_import
143 tests/test-minirst.py not using absolute_import
145 tests/test-minirst.py requires print_function
144 tests/test-minirst.py requires print_function
146 tests/test-parseindex2.py not using absolute_import
145 tests/test-parseindex2.py not using absolute_import
147 tests/test-parseindex2.py requires print_function
146 tests/test-parseindex2.py requires print_function
148 tests/test-pathencode.py not using absolute_import
147 tests/test-pathencode.py not using absolute_import
149 tests/test-pathencode.py requires print_function
148 tests/test-pathencode.py requires print_function
150 tests/test-propertycache.py not using absolute_import
149 tests/test-propertycache.py not using absolute_import
151 tests/test-propertycache.py requires print_function
150 tests/test-propertycache.py requires print_function
152 tests/test-revlog-ancestry.py not using absolute_import
151 tests/test-revlog-ancestry.py not using absolute_import
153 tests/test-revlog-ancestry.py requires print_function
152 tests/test-revlog-ancestry.py requires print_function
154 tests/test-run-tests.py not using absolute_import
153 tests/test-run-tests.py not using absolute_import
155 tests/test-simplemerge.py not using absolute_import
154 tests/test-simplemerge.py not using absolute_import
156 tests/test-status-inprocess.py not using absolute_import
155 tests/test-status-inprocess.py not using absolute_import
157 tests/test-status-inprocess.py requires print_function
156 tests/test-status-inprocess.py requires print_function
158 tests/test-symlink-os-yes-fs-no.py not using absolute_import
157 tests/test-symlink-os-yes-fs-no.py not using absolute_import
159 tests/test-trusted.py not using absolute_import
158 tests/test-trusted.py not using absolute_import
160 tests/test-trusted.py requires print_function
159 tests/test-trusted.py requires print_function
161 tests/test-ui-color.py not using absolute_import
160 tests/test-ui-color.py not using absolute_import
162 tests/test-ui-color.py requires print_function
161 tests/test-ui-color.py requires print_function
163 tests/test-ui-config.py not using absolute_import
162 tests/test-ui-config.py not using absolute_import
164 tests/test-ui-config.py requires print_function
163 tests/test-ui-config.py requires print_function
165 tests/test-ui-verbosity.py not using absolute_import
164 tests/test-ui-verbosity.py not using absolute_import
166 tests/test-ui-verbosity.py requires print_function
165 tests/test-ui-verbosity.py requires print_function
167 tests/test-url.py not using absolute_import
166 tests/test-url.py not using absolute_import
168 tests/test-url.py requires print_function
167 tests/test-url.py requires print_function
169 tests/test-walkrepo.py requires print_function
168 tests/test-walkrepo.py requires print_function
170 tests/test-wireproto.py requires print_function
169 tests/test-wireproto.py requires print_function
171 tests/tinyproxy.py requires print_function
170 tests/tinyproxy.py requires print_function
General Comments 0
You need to be logged in to leave comments. Login now