##// END OF EJS Templates
tests: use absolute_import in generate-working-copy-states.py
Gregory Szorc -
r27295:a327a24a default
parent child Browse files
Show More
@@ -1,86 +1,88 b''
1 # Helper script used for generating history and working copy files and content.
1 # Helper script used for generating history and working copy files and content.
2 # The file's name corresponds to its history. The number of changesets can
2 # The file's name corresponds to its history. The number of changesets can
3 # be specified on the command line. With 2 changesets, files with names like
3 # be specified on the command line. With 2 changesets, files with names like
4 # content1_content2_content1-untracked are generated. The first two filename
4 # content1_content2_content1-untracked are generated. The first two filename
5 # segments describe the contents in the two changesets. The third segment
5 # segments describe the contents in the two changesets. The third segment
6 # ("content1-untracked") describes the state in the working copy, i.e.
6 # ("content1-untracked") describes the state in the working copy, i.e.
7 # the file has content "content1" and is untracked (since it was previously
7 # the file has content "content1" and is untracked (since it was previously
8 # tracked, it has been forgotten).
8 # tracked, it has been forgotten).
9 #
9 #
10 # This script generates the filenames and their content, but it's up to the
10 # This script generates the filenames and their content, but it's up to the
11 # caller to tell hg about the state.
11 # caller to tell hg about the state.
12 #
12 #
13 # There are two subcommands:
13 # There are two subcommands:
14 # filelist <numchangesets>
14 # filelist <numchangesets>
15 # state <numchangesets> (<changeset>|wc)
15 # state <numchangesets> (<changeset>|wc)
16 #
16 #
17 # Typical usage:
17 # Typical usage:
18 #
18 #
19 # $ python $TESTDIR/generate-working-copy-states.py state 2 1
19 # $ python $TESTDIR/generate-working-copy-states.py state 2 1
20 # $ hg addremove --similarity 0
20 # $ hg addremove --similarity 0
21 # $ hg commit -m 'first'
21 # $ hg commit -m 'first'
22 #
22 #
23 # $ python $TESTDIR/generate-working-copy-states.py state 2 1
23 # $ python $TESTDIR/generate-working-copy-states.py state 2 1
24 # $ hg addremove --similarity 0
24 # $ hg addremove --similarity 0
25 # $ hg commit -m 'second'
25 # $ hg commit -m 'second'
26 #
26 #
27 # $ python $TESTDIR/generate-working-copy-states.py state 2 wc
27 # $ python $TESTDIR/generate-working-copy-states.py state 2 wc
28 # $ hg addremove --similarity 0
28 # $ hg addremove --similarity 0
29 # $ hg forget *_*_*-untracked
29 # $ hg forget *_*_*-untracked
30 # $ rm *_*_missing-*
30 # $ rm *_*_missing-*
31
31
32 from __future__ import absolute_import
33
34 import os
32 import sys
35 import sys
33 import os
34
36
35 # Generates pairs of (filename, contents), where 'contents' is a list
37 # Generates pairs of (filename, contents), where 'contents' is a list
36 # describing the file's content at each revision (or in the working copy).
38 # describing the file's content at each revision (or in the working copy).
37 # At each revision, it is either None or the file's actual content. When not
39 # At each revision, it is either None or the file's actual content. When not
38 # None, it may be either new content or the same content as an earlier
40 # None, it may be either new content or the same content as an earlier
39 # revisions, so all of (modified,clean,added,removed) can be tested.
41 # revisions, so all of (modified,clean,added,removed) can be tested.
40 def generatestates(maxchangesets, parentcontents):
42 def generatestates(maxchangesets, parentcontents):
41 depth = len(parentcontents)
43 depth = len(parentcontents)
42 if depth == maxchangesets + 1:
44 if depth == maxchangesets + 1:
43 for tracked in ('untracked', 'tracked'):
45 for tracked in ('untracked', 'tracked'):
44 filename = "_".join([(content is None and 'missing' or content) for
46 filename = "_".join([(content is None and 'missing' or content) for
45 content in parentcontents]) + "-" + tracked
47 content in parentcontents]) + "-" + tracked
46 yield (filename, parentcontents)
48 yield (filename, parentcontents)
47 else:
49 else:
48 for content in (set([None, 'content' + str(depth + 1)]) |
50 for content in (set([None, 'content' + str(depth + 1)]) |
49 set(parentcontents)):
51 set(parentcontents)):
50 for combination in generatestates(maxchangesets,
52 for combination in generatestates(maxchangesets,
51 parentcontents + [content]):
53 parentcontents + [content]):
52 yield combination
54 yield combination
53
55
54 # retrieve the command line arguments
56 # retrieve the command line arguments
55 target = sys.argv[1]
57 target = sys.argv[1]
56 maxchangesets = int(sys.argv[2])
58 maxchangesets = int(sys.argv[2])
57 if target == 'state':
59 if target == 'state':
58 depth = sys.argv[3]
60 depth = sys.argv[3]
59
61
60 # sort to make sure we have stable output
62 # sort to make sure we have stable output
61 combinations = sorted(generatestates(maxchangesets, []))
63 combinations = sorted(generatestates(maxchangesets, []))
62
64
63 # compute file content
65 # compute file content
64 content = []
66 content = []
65 for filename, states in combinations:
67 for filename, states in combinations:
66 if target == 'filelist':
68 if target == 'filelist':
67 print filename
69 print filename
68 elif target == 'state':
70 elif target == 'state':
69 if depth == 'wc':
71 if depth == 'wc':
70 # Make sure there is content so the file gets written and can be
72 # Make sure there is content so the file gets written and can be
71 # tracked. It will be deleted outside of this script.
73 # tracked. It will be deleted outside of this script.
72 content.append((filename, states[maxchangesets] or 'TOBEDELETED'))
74 content.append((filename, states[maxchangesets] or 'TOBEDELETED'))
73 else:
75 else:
74 content.append((filename, states[int(depth) - 1]))
76 content.append((filename, states[int(depth) - 1]))
75 else:
77 else:
76 print >> sys.stderr, "unknown target:", target
78 print >> sys.stderr, "unknown target:", target
77 sys.exit(1)
79 sys.exit(1)
78
80
79 # write actual content
81 # write actual content
80 for filename, data in content:
82 for filename, data in content:
81 if data is not None:
83 if data is not None:
82 f = open(filename, 'wb')
84 f = open(filename, 'wb')
83 f.write(data + '\n')
85 f.write(data + '\n')
84 f.close()
86 f.close()
85 elif os.path.exists(filename):
87 elif os.path.exists(filename):
86 os.remove(filename)
88 os.remove(filename)
@@ -1,231 +1,230 b''
1 #require test-repo
1 #require test-repo
2
2
3 $ cd "$TESTDIR"/..
3 $ cd "$TESTDIR"/..
4
4
5 $ hg files 'set:(**.py)' | xargs python contrib/check-py3-compat.py
5 $ hg files 'set:(**.py)' | 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/__init__.py not using absolute_import
18 contrib/hgfixes/__init__.py not using absolute_import
19 contrib/hgfixes/fix_bytes.py not using absolute_import
19 contrib/hgfixes/fix_bytes.py not using absolute_import
20 contrib/hgfixes/fix_bytesmod.py not using absolute_import
20 contrib/hgfixes/fix_bytesmod.py not using absolute_import
21 contrib/hgfixes/fix_leftover_imports.py not using absolute_import
21 contrib/hgfixes/fix_leftover_imports.py not using absolute_import
22 contrib/import-checker.py not using absolute_import
22 contrib/import-checker.py not using absolute_import
23 contrib/import-checker.py requires print_function
23 contrib/import-checker.py requires print_function
24 contrib/memory.py not using absolute_import
24 contrib/memory.py not using absolute_import
25 contrib/perf.py not using absolute_import
25 contrib/perf.py not using absolute_import
26 contrib/python-hook-examples.py not using absolute_import
26 contrib/python-hook-examples.py not using absolute_import
27 contrib/revsetbenchmarks.py not using absolute_import
27 contrib/revsetbenchmarks.py not using absolute_import
28 contrib/revsetbenchmarks.py requires print_function
28 contrib/revsetbenchmarks.py requires print_function
29 contrib/showstack.py not using absolute_import
29 contrib/showstack.py not using absolute_import
30 contrib/synthrepo.py not using absolute_import
30 contrib/synthrepo.py not using absolute_import
31 contrib/win32/hgwebdir_wsgi.py not using absolute_import
31 contrib/win32/hgwebdir_wsgi.py not using absolute_import
32 doc/check-seclevel.py not using absolute_import
32 doc/check-seclevel.py not using absolute_import
33 doc/gendoc.py not using absolute_import
33 doc/gendoc.py not using absolute_import
34 doc/hgmanpage.py not using absolute_import
34 doc/hgmanpage.py not using absolute_import
35 hgext/__init__.py not using absolute_import
35 hgext/__init__.py not using absolute_import
36 hgext/acl.py not using absolute_import
36 hgext/acl.py not using absolute_import
37 hgext/blackbox.py not using absolute_import
37 hgext/blackbox.py not using absolute_import
38 hgext/bugzilla.py not using absolute_import
38 hgext/bugzilla.py not using absolute_import
39 hgext/censor.py not using absolute_import
39 hgext/censor.py not using absolute_import
40 hgext/children.py not using absolute_import
40 hgext/children.py not using absolute_import
41 hgext/churn.py not using absolute_import
41 hgext/churn.py not using absolute_import
42 hgext/clonebundles.py not using absolute_import
42 hgext/clonebundles.py not using absolute_import
43 hgext/color.py not using absolute_import
43 hgext/color.py not using absolute_import
44 hgext/convert/__init__.py not using absolute_import
44 hgext/convert/__init__.py not using absolute_import
45 hgext/convert/bzr.py not using absolute_import
45 hgext/convert/bzr.py not using absolute_import
46 hgext/convert/common.py not using absolute_import
46 hgext/convert/common.py not using absolute_import
47 hgext/convert/convcmd.py not using absolute_import
47 hgext/convert/convcmd.py not using absolute_import
48 hgext/convert/cvs.py not using absolute_import
48 hgext/convert/cvs.py not using absolute_import
49 hgext/convert/cvsps.py not using absolute_import
49 hgext/convert/cvsps.py not using absolute_import
50 hgext/convert/darcs.py not using absolute_import
50 hgext/convert/darcs.py not using absolute_import
51 hgext/convert/filemap.py not using absolute_import
51 hgext/convert/filemap.py not using absolute_import
52 hgext/convert/git.py not using absolute_import
52 hgext/convert/git.py not using absolute_import
53 hgext/convert/gnuarch.py not using absolute_import
53 hgext/convert/gnuarch.py not using absolute_import
54 hgext/convert/hg.py not using absolute_import
54 hgext/convert/hg.py not using absolute_import
55 hgext/convert/monotone.py not using absolute_import
55 hgext/convert/monotone.py not using absolute_import
56 hgext/convert/p4.py not using absolute_import
56 hgext/convert/p4.py not using absolute_import
57 hgext/convert/subversion.py not using absolute_import
57 hgext/convert/subversion.py not using absolute_import
58 hgext/convert/transport.py not using absolute_import
58 hgext/convert/transport.py not using absolute_import
59 hgext/eol.py not using absolute_import
59 hgext/eol.py not using absolute_import
60 hgext/extdiff.py not using absolute_import
60 hgext/extdiff.py not using absolute_import
61 hgext/factotum.py not using absolute_import
61 hgext/factotum.py not using absolute_import
62 hgext/fetch.py not using absolute_import
62 hgext/fetch.py not using absolute_import
63 hgext/gpg.py not using absolute_import
63 hgext/gpg.py not using absolute_import
64 hgext/graphlog.py not using absolute_import
64 hgext/graphlog.py not using absolute_import
65 hgext/hgcia.py not using absolute_import
65 hgext/hgcia.py not using absolute_import
66 hgext/hgk.py not using absolute_import
66 hgext/hgk.py not using absolute_import
67 hgext/highlight/__init__.py not using absolute_import
67 hgext/highlight/__init__.py not using absolute_import
68 hgext/highlight/highlight.py not using absolute_import
68 hgext/highlight/highlight.py not using absolute_import
69 hgext/histedit.py not using absolute_import
69 hgext/histedit.py not using absolute_import
70 hgext/keyword.py not using absolute_import
70 hgext/keyword.py not using absolute_import
71 hgext/largefiles/__init__.py not using absolute_import
71 hgext/largefiles/__init__.py not using absolute_import
72 hgext/largefiles/basestore.py not using absolute_import
72 hgext/largefiles/basestore.py not using absolute_import
73 hgext/largefiles/lfcommands.py not using absolute_import
73 hgext/largefiles/lfcommands.py not using absolute_import
74 hgext/largefiles/lfutil.py not using absolute_import
74 hgext/largefiles/lfutil.py not using absolute_import
75 hgext/largefiles/localstore.py not using absolute_import
75 hgext/largefiles/localstore.py not using absolute_import
76 hgext/largefiles/overrides.py not using absolute_import
76 hgext/largefiles/overrides.py not using absolute_import
77 hgext/largefiles/proto.py not using absolute_import
77 hgext/largefiles/proto.py not using absolute_import
78 hgext/largefiles/remotestore.py not using absolute_import
78 hgext/largefiles/remotestore.py not using absolute_import
79 hgext/largefiles/reposetup.py not using absolute_import
79 hgext/largefiles/reposetup.py not using absolute_import
80 hgext/largefiles/uisetup.py not using absolute_import
80 hgext/largefiles/uisetup.py not using absolute_import
81 hgext/largefiles/wirestore.py not using absolute_import
81 hgext/largefiles/wirestore.py not using absolute_import
82 hgext/mq.py not using absolute_import
82 hgext/mq.py not using absolute_import
83 hgext/notify.py not using absolute_import
83 hgext/notify.py not using absolute_import
84 hgext/pager.py not using absolute_import
84 hgext/pager.py not using absolute_import
85 hgext/patchbomb.py not using absolute_import
85 hgext/patchbomb.py not using absolute_import
86 hgext/purge.py not using absolute_import
86 hgext/purge.py not using absolute_import
87 hgext/rebase.py not using absolute_import
87 hgext/rebase.py not using absolute_import
88 hgext/record.py not using absolute_import
88 hgext/record.py not using absolute_import
89 hgext/relink.py not using absolute_import
89 hgext/relink.py not using absolute_import
90 hgext/schemes.py not using absolute_import
90 hgext/schemes.py not using absolute_import
91 hgext/share.py not using absolute_import
91 hgext/share.py not using absolute_import
92 hgext/shelve.py not using absolute_import
92 hgext/shelve.py not using absolute_import
93 hgext/strip.py not using absolute_import
93 hgext/strip.py not using absolute_import
94 hgext/transplant.py not using absolute_import
94 hgext/transplant.py not using absolute_import
95 hgext/win32mbcs.py not using absolute_import
95 hgext/win32mbcs.py not using absolute_import
96 hgext/win32text.py not using absolute_import
96 hgext/win32text.py not using absolute_import
97 hgext/zeroconf/Zeroconf.py not using absolute_import
97 hgext/zeroconf/Zeroconf.py not using absolute_import
98 hgext/zeroconf/Zeroconf.py requires print_function
98 hgext/zeroconf/Zeroconf.py requires print_function
99 hgext/zeroconf/__init__.py not using absolute_import
99 hgext/zeroconf/__init__.py not using absolute_import
100 i18n/check-translation.py not using absolute_import
100 i18n/check-translation.py not using absolute_import
101 i18n/polib.py not using absolute_import
101 i18n/polib.py not using absolute_import
102 mercurial/byterange.py not using absolute_import
102 mercurial/byterange.py not using absolute_import
103 mercurial/cmdutil.py not using absolute_import
103 mercurial/cmdutil.py not using absolute_import
104 mercurial/commands.py not using absolute_import
104 mercurial/commands.py not using absolute_import
105 mercurial/commandserver.py not using absolute_import
105 mercurial/commandserver.py not using absolute_import
106 mercurial/context.py not using absolute_import
106 mercurial/context.py not using absolute_import
107 mercurial/destutil.py not using absolute_import
107 mercurial/destutil.py not using absolute_import
108 mercurial/dirstate.py not using absolute_import
108 mercurial/dirstate.py not using absolute_import
109 mercurial/dispatch.py requires print_function
109 mercurial/dispatch.py requires print_function
110 mercurial/encoding.py not using absolute_import
110 mercurial/encoding.py not using absolute_import
111 mercurial/exchange.py not using absolute_import
111 mercurial/exchange.py not using absolute_import
112 mercurial/help.py not using absolute_import
112 mercurial/help.py not using absolute_import
113 mercurial/httpclient/__init__.py not using absolute_import
113 mercurial/httpclient/__init__.py not using absolute_import
114 mercurial/httpclient/_readers.py not using absolute_import
114 mercurial/httpclient/_readers.py not using absolute_import
115 mercurial/httpclient/socketutil.py not using absolute_import
115 mercurial/httpclient/socketutil.py not using absolute_import
116 mercurial/httpconnection.py not using absolute_import
116 mercurial/httpconnection.py not using absolute_import
117 mercurial/keepalive.py not using absolute_import
117 mercurial/keepalive.py not using absolute_import
118 mercurial/keepalive.py requires print_function
118 mercurial/keepalive.py requires print_function
119 mercurial/localrepo.py not using absolute_import
119 mercurial/localrepo.py not using absolute_import
120 mercurial/lsprof.py requires print_function
120 mercurial/lsprof.py requires print_function
121 mercurial/lsprofcalltree.py not using absolute_import
121 mercurial/lsprofcalltree.py not using absolute_import
122 mercurial/lsprofcalltree.py requires print_function
122 mercurial/lsprofcalltree.py requires print_function
123 mercurial/mail.py requires print_function
123 mercurial/mail.py requires print_function
124 mercurial/manifest.py not using absolute_import
124 mercurial/manifest.py not using absolute_import
125 mercurial/mdiff.py not using absolute_import
125 mercurial/mdiff.py not using absolute_import
126 mercurial/obsolete.py not using absolute_import
126 mercurial/obsolete.py not using absolute_import
127 mercurial/patch.py not using absolute_import
127 mercurial/patch.py not using absolute_import
128 mercurial/pure/__init__.py not using absolute_import
128 mercurial/pure/__init__.py not using absolute_import
129 mercurial/pure/base85.py not using absolute_import
129 mercurial/pure/base85.py not using absolute_import
130 mercurial/pure/bdiff.py not using absolute_import
130 mercurial/pure/bdiff.py not using absolute_import
131 mercurial/pure/diffhelpers.py not using absolute_import
131 mercurial/pure/diffhelpers.py not using absolute_import
132 mercurial/pure/mpatch.py not using absolute_import
132 mercurial/pure/mpatch.py not using absolute_import
133 mercurial/pure/osutil.py not using absolute_import
133 mercurial/pure/osutil.py not using absolute_import
134 mercurial/pure/parsers.py not using absolute_import
134 mercurial/pure/parsers.py not using absolute_import
135 mercurial/pvec.py not using absolute_import
135 mercurial/pvec.py not using absolute_import
136 mercurial/py3kcompat.py not using absolute_import
136 mercurial/py3kcompat.py not using absolute_import
137 mercurial/revlog.py not using absolute_import
137 mercurial/revlog.py not using absolute_import
138 mercurial/scmposix.py not using absolute_import
138 mercurial/scmposix.py not using absolute_import
139 mercurial/scmutil.py not using absolute_import
139 mercurial/scmutil.py not using absolute_import
140 mercurial/scmwindows.py not using absolute_import
140 mercurial/scmwindows.py not using absolute_import
141 mercurial/similar.py not using absolute_import
141 mercurial/similar.py not using absolute_import
142 mercurial/store.py not using absolute_import
142 mercurial/store.py not using absolute_import
143 mercurial/util.py not using absolute_import
143 mercurial/util.py not using absolute_import
144 mercurial/windows.py not using absolute_import
144 mercurial/windows.py not using absolute_import
145 setup.py not using absolute_import
145 setup.py not using absolute_import
146 tests/filterpyflakes.py requires print_function
146 tests/filterpyflakes.py requires print_function
147 tests/generate-working-copy-states.py not using absolute_import
148 tests/generate-working-copy-states.py requires print_function
147 tests/generate-working-copy-states.py requires print_function
149 tests/get-with-headers.py not using absolute_import
148 tests/get-with-headers.py not using absolute_import
150 tests/get-with-headers.py requires print_function
149 tests/get-with-headers.py requires print_function
151 tests/heredoctest.py not using absolute_import
150 tests/heredoctest.py not using absolute_import
152 tests/heredoctest.py requires print_function
151 tests/heredoctest.py requires print_function
153 tests/hghave.py not using absolute_import
152 tests/hghave.py not using absolute_import
154 tests/hgweberror.py not using absolute_import
153 tests/hgweberror.py not using absolute_import
155 tests/hypothesishelpers.py not using absolute_import
154 tests/hypothesishelpers.py not using absolute_import
156 tests/hypothesishelpers.py requires print_function
155 tests/hypothesishelpers.py requires print_function
157 tests/killdaemons.py not using absolute_import
156 tests/killdaemons.py not using absolute_import
158 tests/md5sum.py not using absolute_import
157 tests/md5sum.py not using absolute_import
159 tests/mockblackbox.py not using absolute_import
158 tests/mockblackbox.py not using absolute_import
160 tests/printenv.py not using absolute_import
159 tests/printenv.py not using absolute_import
161 tests/readlink.py not using absolute_import
160 tests/readlink.py not using absolute_import
162 tests/readlink.py requires print_function
161 tests/readlink.py requires print_function
163 tests/revlog-formatv0.py not using absolute_import
162 tests/revlog-formatv0.py not using absolute_import
164 tests/run-tests.py not using absolute_import
163 tests/run-tests.py not using absolute_import
165 tests/seq.py not using absolute_import
164 tests/seq.py not using absolute_import
166 tests/seq.py requires print_function
165 tests/seq.py requires print_function
167 tests/silenttestrunner.py not using absolute_import
166 tests/silenttestrunner.py not using absolute_import
168 tests/silenttestrunner.py requires print_function
167 tests/silenttestrunner.py requires print_function
169 tests/sitecustomize.py not using absolute_import
168 tests/sitecustomize.py not using absolute_import
170 tests/svn-safe-append.py not using absolute_import
169 tests/svn-safe-append.py not using absolute_import
171 tests/svnxml.py not using absolute_import
170 tests/svnxml.py not using absolute_import
172 tests/test-ancestor.py requires print_function
171 tests/test-ancestor.py requires print_function
173 tests/test-atomictempfile.py not using absolute_import
172 tests/test-atomictempfile.py not using absolute_import
174 tests/test-batching.py not using absolute_import
173 tests/test-batching.py not using absolute_import
175 tests/test-batching.py requires print_function
174 tests/test-batching.py requires print_function
176 tests/test-bdiff.py not using absolute_import
175 tests/test-bdiff.py not using absolute_import
177 tests/test-bdiff.py requires print_function
176 tests/test-bdiff.py requires print_function
178 tests/test-context.py not using absolute_import
177 tests/test-context.py not using absolute_import
179 tests/test-context.py requires print_function
178 tests/test-context.py requires print_function
180 tests/test-demandimport.py not using absolute_import
179 tests/test-demandimport.py not using absolute_import
181 tests/test-demandimport.py requires print_function
180 tests/test-demandimport.py requires print_function
182 tests/test-dispatch.py not using absolute_import
181 tests/test-dispatch.py not using absolute_import
183 tests/test-dispatch.py requires print_function
182 tests/test-dispatch.py requires print_function
184 tests/test-doctest.py not using absolute_import
183 tests/test-doctest.py not using absolute_import
185 tests/test-duplicateoptions.py not using absolute_import
184 tests/test-duplicateoptions.py not using absolute_import
186 tests/test-duplicateoptions.py requires print_function
185 tests/test-duplicateoptions.py requires print_function
187 tests/test-filecache.py not using absolute_import
186 tests/test-filecache.py not using absolute_import
188 tests/test-filecache.py requires print_function
187 tests/test-filecache.py requires print_function
189 tests/test-filelog.py not using absolute_import
188 tests/test-filelog.py not using absolute_import
190 tests/test-filelog.py requires print_function
189 tests/test-filelog.py requires print_function
191 tests/test-hg-parseurl.py not using absolute_import
190 tests/test-hg-parseurl.py not using absolute_import
192 tests/test-hg-parseurl.py requires print_function
191 tests/test-hg-parseurl.py requires print_function
193 tests/test-hgweb-auth.py not using absolute_import
192 tests/test-hgweb-auth.py not using absolute_import
194 tests/test-hgweb-auth.py requires print_function
193 tests/test-hgweb-auth.py requires print_function
195 tests/test-hgwebdir-paths.py not using absolute_import
194 tests/test-hgwebdir-paths.py not using absolute_import
196 tests/test-hybridencode.py not using absolute_import
195 tests/test-hybridencode.py not using absolute_import
197 tests/test-hybridencode.py requires print_function
196 tests/test-hybridencode.py requires print_function
198 tests/test-lrucachedict.py not using absolute_import
197 tests/test-lrucachedict.py not using absolute_import
199 tests/test-lrucachedict.py requires print_function
198 tests/test-lrucachedict.py requires print_function
200 tests/test-manifest.py not using absolute_import
199 tests/test-manifest.py not using absolute_import
201 tests/test-minirst.py not using absolute_import
200 tests/test-minirst.py not using absolute_import
202 tests/test-minirst.py requires print_function
201 tests/test-minirst.py requires print_function
203 tests/test-parseindex2.py not using absolute_import
202 tests/test-parseindex2.py not using absolute_import
204 tests/test-parseindex2.py requires print_function
203 tests/test-parseindex2.py requires print_function
205 tests/test-pathencode.py not using absolute_import
204 tests/test-pathencode.py not using absolute_import
206 tests/test-pathencode.py requires print_function
205 tests/test-pathencode.py requires print_function
207 tests/test-propertycache.py not using absolute_import
206 tests/test-propertycache.py not using absolute_import
208 tests/test-propertycache.py requires print_function
207 tests/test-propertycache.py requires print_function
209 tests/test-revlog-ancestry.py not using absolute_import
208 tests/test-revlog-ancestry.py not using absolute_import
210 tests/test-revlog-ancestry.py requires print_function
209 tests/test-revlog-ancestry.py requires print_function
211 tests/test-run-tests.py not using absolute_import
210 tests/test-run-tests.py not using absolute_import
212 tests/test-simplemerge.py not using absolute_import
211 tests/test-simplemerge.py not using absolute_import
213 tests/test-status-inprocess.py not using absolute_import
212 tests/test-status-inprocess.py not using absolute_import
214 tests/test-status-inprocess.py requires print_function
213 tests/test-status-inprocess.py requires print_function
215 tests/test-symlink-os-yes-fs-no.py not using absolute_import
214 tests/test-symlink-os-yes-fs-no.py not using absolute_import
216 tests/test-trusted.py not using absolute_import
215 tests/test-trusted.py not using absolute_import
217 tests/test-trusted.py requires print_function
216 tests/test-trusted.py requires print_function
218 tests/test-ui-color.py not using absolute_import
217 tests/test-ui-color.py not using absolute_import
219 tests/test-ui-color.py requires print_function
218 tests/test-ui-color.py requires print_function
220 tests/test-ui-config.py not using absolute_import
219 tests/test-ui-config.py not using absolute_import
221 tests/test-ui-config.py requires print_function
220 tests/test-ui-config.py requires print_function
222 tests/test-ui-verbosity.py not using absolute_import
221 tests/test-ui-verbosity.py not using absolute_import
223 tests/test-ui-verbosity.py requires print_function
222 tests/test-ui-verbosity.py requires print_function
224 tests/test-url.py not using absolute_import
223 tests/test-url.py not using absolute_import
225 tests/test-url.py requires print_function
224 tests/test-url.py requires print_function
226 tests/test-walkrepo.py not using absolute_import
225 tests/test-walkrepo.py not using absolute_import
227 tests/test-walkrepo.py requires print_function
226 tests/test-walkrepo.py requires print_function
228 tests/test-wireproto.py not using absolute_import
227 tests/test-wireproto.py not using absolute_import
229 tests/test-wireproto.py requires print_function
228 tests/test-wireproto.py requires print_function
230 tests/tinyproxy.py not using absolute_import
229 tests/tinyproxy.py not using absolute_import
231 tests/tinyproxy.py requires print_function
230 tests/tinyproxy.py requires print_function
General Comments 0
You need to be logged in to leave comments. Login now