Show More
@@ -1,660 +1,659 b'' | |||||
1 | $ check_code="$TESTDIR"/../contrib/check-code.py |
|
1 | $ check_code="$TESTDIR"/../contrib/check-code.py | |
2 | $ cd "$TESTDIR"/.. |
|
2 | $ cd "$TESTDIR"/.. | |
3 |
|
3 | |||
4 | $ hg manifest | xargs "$check_code" || echo 'FAILURE IS NOT AN OPTION!!!' |
|
4 | $ hg manifest | xargs "$check_code" || echo 'FAILURE IS NOT AN OPTION!!!' | |
5 |
|
5 | |||
6 | $ hg manifest | xargs "$check_code" --warnings --nolineno --per-file=0 |
|
6 | $ hg manifest | xargs "$check_code" --warnings --nolineno --per-file=0 || true | |
7 | contrib/check-code.py:0: |
|
7 | contrib/check-code.py:0: | |
8 | > # (r'^\s+[^_ \n][^_. \n]+_[^_\n]+\s*=', "don't use underbars in identifiers"), |
|
8 | > # (r'^\s+[^_ \n][^_. \n]+_[^_\n]+\s*=', "don't use underbars in identifiers"), | |
9 | warning: line over 80 characters |
|
9 | warning: line over 80 characters | |
10 | contrib/perf.py:0: |
|
10 | contrib/perf.py:0: | |
11 | > except: |
|
11 | > except: | |
12 | warning: naked except clause |
|
12 | warning: naked except clause | |
13 | contrib/perf.py:0: |
|
13 | contrib/perf.py:0: | |
14 | > #timer(lambda: sum(map(len, repo.dirstate.status(m, [], False, False, False)))) |
|
14 | > #timer(lambda: sum(map(len, repo.dirstate.status(m, [], False, False, False)))) | |
15 | warning: line over 80 characters |
|
15 | warning: line over 80 characters | |
16 | contrib/perf.py:0: |
|
16 | contrib/perf.py:0: | |
17 | > except: |
|
17 | > except: | |
18 | warning: naked except clause |
|
18 | warning: naked except clause | |
19 | contrib/setup3k.py:0: |
|
19 | contrib/setup3k.py:0: | |
20 | > except: |
|
20 | > except: | |
21 | warning: naked except clause |
|
21 | warning: naked except clause | |
22 | contrib/setup3k.py:0: |
|
22 | contrib/setup3k.py:0: | |
23 | > except: |
|
23 | > except: | |
24 | warning: naked except clause |
|
24 | warning: naked except clause | |
25 | contrib/setup3k.py:0: |
|
25 | contrib/setup3k.py:0: | |
26 | > except: |
|
26 | > except: | |
27 | warning: naked except clause |
|
27 | warning: naked except clause | |
28 | warning: naked except clause |
|
28 | warning: naked except clause | |
29 | warning: naked except clause |
|
29 | warning: naked except clause | |
30 | contrib/shrink-revlog.py:0: |
|
30 | contrib/shrink-revlog.py:0: | |
31 | > '(You can delete those files when you are satisfied that your\n' |
|
31 | > '(You can delete those files when you are satisfied that your\n' | |
32 | warning: line over 80 characters |
|
32 | warning: line over 80 characters | |
33 | contrib/shrink-revlog.py:0: |
|
33 | contrib/shrink-revlog.py:0: | |
34 | > ('', 'sort', 'reversepostorder', 'name of sort algorithm to use'), |
|
34 | > ('', 'sort', 'reversepostorder', 'name of sort algorithm to use'), | |
35 | warning: line over 80 characters |
|
35 | warning: line over 80 characters | |
36 | contrib/shrink-revlog.py:0: |
|
36 | contrib/shrink-revlog.py:0: | |
37 | > [('', 'revlog', '', _('index (.i) file of the revlog to shrink')), |
|
37 | > [('', 'revlog', '', _('index (.i) file of the revlog to shrink')), | |
38 | warning: line over 80 characters |
|
38 | warning: line over 80 characters | |
39 | contrib/shrink-revlog.py:0: |
|
39 | contrib/shrink-revlog.py:0: | |
40 | > except: |
|
40 | > except: | |
41 | warning: naked except clause |
|
41 | warning: naked except clause | |
42 | doc/gendoc.py:0: |
|
42 | doc/gendoc.py:0: | |
43 | > "together with Mercurial. Help for other extensions is available " |
|
43 | > "together with Mercurial. Help for other extensions is available " | |
44 | warning: line over 80 characters |
|
44 | warning: line over 80 characters | |
45 | hgext/bugzilla.py:0: |
|
45 | hgext/bugzilla.py:0: | |
46 | > raise util.Abort(_('cannot find bugzilla user id for %s or %s') % |
|
46 | > raise util.Abort(_('cannot find bugzilla user id for %s or %s') % | |
47 | warning: line over 80 characters |
|
47 | warning: line over 80 characters | |
48 | hgext/bugzilla.py:0: |
|
48 | hgext/bugzilla.py:0: | |
49 | > bzdir = self.ui.config('bugzilla', 'bzdir', '/var/www/html/bugzilla') |
|
49 | > bzdir = self.ui.config('bugzilla', 'bzdir', '/var/www/html/bugzilla') | |
50 | warning: line over 80 characters |
|
50 | warning: line over 80 characters | |
51 | hgext/convert/__init__.py:0: |
|
51 | hgext/convert/__init__.py:0: | |
52 | > ('', 'ancestors', '', _('show current changeset in ancestor branches')), |
|
52 | > ('', 'ancestors', '', _('show current changeset in ancestor branches')), | |
53 | warning: line over 80 characters |
|
53 | warning: line over 80 characters | |
54 | hgext/convert/bzr.py:0: |
|
54 | hgext/convert/bzr.py:0: | |
55 | > except: |
|
55 | > except: | |
56 | warning: naked except clause |
|
56 | warning: naked except clause | |
57 | hgext/convert/common.py:0: |
|
57 | hgext/convert/common.py:0: | |
58 | > except: |
|
58 | > except: | |
59 | warning: naked except clause |
|
59 | warning: naked except clause | |
60 | hgext/convert/common.py:0: |
|
60 | hgext/convert/common.py:0: | |
61 | > except: |
|
61 | > except: | |
62 | warning: naked except clause |
|
62 | warning: naked except clause | |
63 | warning: naked except clause |
|
63 | warning: naked except clause | |
64 | hgext/convert/convcmd.py:0: |
|
64 | hgext/convert/convcmd.py:0: | |
65 | > except: |
|
65 | > except: | |
66 | warning: naked except clause |
|
66 | warning: naked except clause | |
67 | hgext/convert/cvs.py:0: |
|
67 | hgext/convert/cvs.py:0: | |
68 | > # /1 :pserver:user@example.com:2401/cvsroot/foo Ah<Z |
|
68 | > # /1 :pserver:user@example.com:2401/cvsroot/foo Ah<Z | |
69 | warning: line over 80 characters |
|
69 | warning: line over 80 characters | |
70 | hgext/convert/cvsps.py:0: |
|
70 | hgext/convert/cvsps.py:0: | |
71 | > assert len(branches) == 1, 'unknown branch: %s' % e.mergepoint |
|
71 | > assert len(branches) == 1, 'unknown branch: %s' % e.mergepoint | |
72 | warning: line over 80 characters |
|
72 | warning: line over 80 characters | |
73 | hgext/convert/cvsps.py:0: |
|
73 | hgext/convert/cvsps.py:0: | |
74 | > ui.write('Ancestors: %s\n' % (','.join(r))) |
|
74 | > ui.write('Ancestors: %s\n' % (','.join(r))) | |
75 | warning: unwrapped ui message |
|
75 | warning: unwrapped ui message | |
76 | hgext/convert/cvsps.py:0: |
|
76 | hgext/convert/cvsps.py:0: | |
77 | > ui.write('Parent: %d\n' % cs.parents[0].id) |
|
77 | > ui.write('Parent: %d\n' % cs.parents[0].id) | |
78 | warning: unwrapped ui message |
|
78 | warning: unwrapped ui message | |
79 | hgext/convert/cvsps.py:0: |
|
79 | hgext/convert/cvsps.py:0: | |
80 | > ui.write('Parents: %s\n' % |
|
80 | > ui.write('Parents: %s\n' % | |
81 | warning: unwrapped ui message |
|
81 | warning: unwrapped ui message | |
82 | hgext/convert/cvsps.py:0: |
|
82 | hgext/convert/cvsps.py:0: | |
83 | > except: |
|
83 | > except: | |
84 | warning: naked except clause |
|
84 | warning: naked except clause | |
85 | hgext/convert/cvsps.py:0: |
|
85 | hgext/convert/cvsps.py:0: | |
86 | > ui.write('Branchpoints: %s \n' % ', '.join(branchpoints)) |
|
86 | > ui.write('Branchpoints: %s \n' % ', '.join(branchpoints)) | |
87 | warning: unwrapped ui message |
|
87 | warning: unwrapped ui message | |
88 | hgext/convert/cvsps.py:0: |
|
88 | hgext/convert/cvsps.py:0: | |
89 | > ui.write('Author: %s\n' % cs.author) |
|
89 | > ui.write('Author: %s\n' % cs.author) | |
90 | warning: unwrapped ui message |
|
90 | warning: unwrapped ui message | |
91 | hgext/convert/cvsps.py:0: |
|
91 | hgext/convert/cvsps.py:0: | |
92 | > ui.write('Branch: %s\n' % (cs.branch or 'HEAD')) |
|
92 | > ui.write('Branch: %s\n' % (cs.branch or 'HEAD')) | |
93 | warning: unwrapped ui message |
|
93 | warning: unwrapped ui message | |
94 | hgext/convert/cvsps.py:0: |
|
94 | hgext/convert/cvsps.py:0: | |
95 | > ui.write('Date: %s\n' % util.datestr(cs.date, |
|
95 | > ui.write('Date: %s\n' % util.datestr(cs.date, | |
96 | warning: unwrapped ui message |
|
96 | warning: unwrapped ui message | |
97 | hgext/convert/cvsps.py:0: |
|
97 | hgext/convert/cvsps.py:0: | |
98 | > ui.write('Log:\n') |
|
98 | > ui.write('Log:\n') | |
99 | warning: unwrapped ui message |
|
99 | warning: unwrapped ui message | |
100 | hgext/convert/cvsps.py:0: |
|
100 | hgext/convert/cvsps.py:0: | |
101 | > ui.write('Members: \n') |
|
101 | > ui.write('Members: \n') | |
102 | warning: unwrapped ui message |
|
102 | warning: unwrapped ui message | |
103 | hgext/convert/cvsps.py:0: |
|
103 | hgext/convert/cvsps.py:0: | |
104 | > ui.write('PatchSet %d \n' % cs.id) |
|
104 | > ui.write('PatchSet %d \n' % cs.id) | |
105 | warning: unwrapped ui message |
|
105 | warning: unwrapped ui message | |
106 | hgext/convert/cvsps.py:0: |
|
106 | hgext/convert/cvsps.py:0: | |
107 | > ui.write('Tag%s: %s \n' % (['', 's'][len(cs.tags) > 1], |
|
107 | > ui.write('Tag%s: %s \n' % (['', 's'][len(cs.tags) > 1], | |
108 | warning: unwrapped ui message |
|
108 | warning: unwrapped ui message | |
109 | hgext/convert/git.py:0: |
|
109 | hgext/convert/git.py:0: | |
110 | > except: |
|
110 | > except: | |
111 | warning: naked except clause |
|
111 | warning: naked except clause | |
112 | hgext/convert/git.py:0: |
|
112 | hgext/convert/git.py:0: | |
113 | > fh = self.gitopen('git diff-tree --name-only --root -r %s "%s^%s" --' |
|
113 | > fh = self.gitopen('git diff-tree --name-only --root -r %s "%s^%s" --' | |
114 | warning: line over 80 characters |
|
114 | warning: line over 80 characters | |
115 | hgext/convert/hg.py:0: |
|
115 | hgext/convert/hg.py:0: | |
116 | > # detect missing revlogs and abort on errors or populate self.ignored |
|
116 | > # detect missing revlogs and abort on errors or populate self.ignored | |
117 | warning: line over 80 characters |
|
117 | warning: line over 80 characters | |
118 | hgext/convert/hg.py:0: |
|
118 | hgext/convert/hg.py:0: | |
119 | > except: |
|
119 | > except: | |
120 | warning: naked except clause |
|
120 | warning: naked except clause | |
121 | warning: naked except clause |
|
121 | warning: naked except clause | |
122 | hgext/convert/hg.py:0: |
|
122 | hgext/convert/hg.py:0: | |
123 | > except: |
|
123 | > except: | |
124 | warning: naked except clause |
|
124 | warning: naked except clause | |
125 | hgext/convert/monotone.py:0: |
|
125 | hgext/convert/monotone.py:0: | |
126 | > except: |
|
126 | > except: | |
127 | warning: naked except clause |
|
127 | warning: naked except clause | |
128 | hgext/convert/monotone.py:0: |
|
128 | hgext/convert/monotone.py:0: | |
129 | > except: |
|
129 | > except: | |
130 | warning: naked except clause |
|
130 | warning: naked except clause | |
131 | hgext/convert/subversion.py:0: |
|
131 | hgext/convert/subversion.py:0: | |
132 | > raise util.Abort(_('svn: branch has no revision %s') % to_revnum) |
|
132 | > raise util.Abort(_('svn: branch has no revision %s') % to_revnum) | |
133 | warning: line over 80 characters |
|
133 | warning: line over 80 characters | |
134 | hgext/convert/subversion.py:0: |
|
134 | hgext/convert/subversion.py:0: | |
135 | > except: |
|
135 | > except: | |
136 | warning: naked except clause |
|
136 | warning: naked except clause | |
137 | hgext/convert/subversion.py:0: |
|
137 | hgext/convert/subversion.py:0: | |
138 | > args = [self.baseurl, relpaths, start, end, limit, discover_changed_paths, |
|
138 | > args = [self.baseurl, relpaths, start, end, limit, discover_changed_paths, | |
139 | warning: line over 80 characters |
|
139 | warning: line over 80 characters | |
140 | hgext/convert/subversion.py:0: |
|
140 | hgext/convert/subversion.py:0: | |
141 | > self.trunkname = self.ui.config('convert', 'svn.trunk', 'trunk').strip('/') |
|
141 | > self.trunkname = self.ui.config('convert', 'svn.trunk', 'trunk').strip('/') | |
142 | warning: line over 80 characters |
|
142 | warning: line over 80 characters | |
143 | hgext/convert/subversion.py:0: |
|
143 | hgext/convert/subversion.py:0: | |
144 | > except: |
|
144 | > except: | |
145 | warning: naked except clause |
|
145 | warning: naked except clause | |
146 | hgext/convert/subversion.py:0: |
|
146 | hgext/convert/subversion.py:0: | |
147 | > def get_log_child(fp, url, paths, start, end, limit=0, discover_changed_paths=True, |
|
147 | > def get_log_child(fp, url, paths, start, end, limit=0, discover_changed_paths=True, | |
148 | warning: line over 80 characters |
|
148 | warning: line over 80 characters | |
149 | hgext/eol.py:0: |
|
149 | hgext/eol.py:0: | |
150 | > if ui.configbool('eol', 'fix-trailing-newline', False) and s and s[-1] != '\n': |
|
150 | > if ui.configbool('eol', 'fix-trailing-newline', False) and s and s[-1] != '\n': | |
151 | warning: line over 80 characters |
|
151 | warning: line over 80 characters | |
152 | warning: line over 80 characters |
|
152 | warning: line over 80 characters | |
153 | hgext/gpg.py:0: |
|
153 | hgext/gpg.py:0: | |
154 | > except: |
|
154 | > except: | |
155 | warning: naked except clause |
|
155 | warning: naked except clause | |
156 | hgext/hgcia.py:0: |
|
156 | hgext/hgcia.py:0: | |
157 | > except: |
|
157 | > except: | |
158 | warning: naked except clause |
|
158 | warning: naked except clause | |
159 | hgext/hgk.py:0: |
|
159 | hgext/hgk.py:0: | |
160 | > ui.write("%s%s\n" % (prefix, description.replace('\n', nlprefix).strip())) |
|
160 | > ui.write("%s%s\n" % (prefix, description.replace('\n', nlprefix).strip())) | |
161 | warning: line over 80 characters |
|
161 | warning: line over 80 characters | |
162 | hgext/hgk.py:0: |
|
162 | hgext/hgk.py:0: | |
163 | > ui.write("parent %s\n" % p) |
|
163 | > ui.write("parent %s\n" % p) | |
164 | warning: unwrapped ui message |
|
164 | warning: unwrapped ui message | |
165 | hgext/hgk.py:0: |
|
165 | hgext/hgk.py:0: | |
166 | > ui.write('k=%s\nv=%s\n' % (name, value)) |
|
166 | > ui.write('k=%s\nv=%s\n' % (name, value)) | |
167 | warning: unwrapped ui message |
|
167 | warning: unwrapped ui message | |
168 | hgext/hgk.py:0: |
|
168 | hgext/hgk.py:0: | |
169 | > ui.write("author %s %s %s\n" % (ctx.user(), int(date[0]), date[1])) |
|
169 | > ui.write("author %s %s %s\n" % (ctx.user(), int(date[0]), date[1])) | |
170 | warning: unwrapped ui message |
|
170 | warning: unwrapped ui message | |
171 | hgext/hgk.py:0: |
|
171 | hgext/hgk.py:0: | |
172 | > ui.write("branch %s\n\n" % ctx.branch()) |
|
172 | > ui.write("branch %s\n\n" % ctx.branch()) | |
173 | warning: unwrapped ui message |
|
173 | warning: unwrapped ui message | |
174 | hgext/hgk.py:0: |
|
174 | hgext/hgk.py:0: | |
175 | > ui.write("committer %s %s %s\n" % (committer, int(date[0]), date[1])) |
|
175 | > ui.write("committer %s %s %s\n" % (committer, int(date[0]), date[1])) | |
176 | warning: unwrapped ui message |
|
176 | warning: unwrapped ui message | |
177 | hgext/hgk.py:0: |
|
177 | hgext/hgk.py:0: | |
178 | > ui.write("revision %d\n" % ctx.rev()) |
|
178 | > ui.write("revision %d\n" % ctx.rev()) | |
179 | warning: unwrapped ui message |
|
179 | warning: unwrapped ui message | |
180 | hgext/hgk.py:0: |
|
180 | hgext/hgk.py:0: | |
181 | > ui.write("tree %s\n" % short(ctx.changeset()[0])) # use ctx.node() instead ?? |
|
181 | > ui.write("tree %s\n" % short(ctx.changeset()[0])) # use ctx.node() instead ?? | |
182 | warning: line over 80 characters |
|
182 | warning: line over 80 characters | |
183 | warning: unwrapped ui message |
|
183 | warning: unwrapped ui message | |
184 | hgext/highlight/__init__.py:0: |
|
184 | hgext/highlight/__init__.py:0: | |
185 | > extensions.wrapfunction(webcommands, '_filerevision', filerevision_highlight) |
|
185 | > extensions.wrapfunction(webcommands, '_filerevision', filerevision_highlight) | |
186 | warning: line over 80 characters |
|
186 | warning: line over 80 characters | |
187 | hgext/highlight/__init__.py:0: |
|
187 | hgext/highlight/__init__.py:0: | |
188 | > return ['/* pygments_style = %s */\n\n' % pg_style, fmter.get_style_defs('')] |
|
188 | > return ['/* pygments_style = %s */\n\n' % pg_style, fmter.get_style_defs('')] | |
189 | warning: line over 80 characters |
|
189 | warning: line over 80 characters | |
190 | hgext/inotify/__init__.py:0: |
|
190 | hgext/inotify/__init__.py:0: | |
191 | > if self._inotifyon and not ignored and not subrepos and not self._dirty: |
|
191 | > if self._inotifyon and not ignored and not subrepos and not self._dirty: | |
192 | warning: line over 80 characters |
|
192 | warning: line over 80 characters | |
193 | hgext/inotify/server.py:0: |
|
193 | hgext/inotify/server.py:0: | |
194 | > except: |
|
194 | > except: | |
195 | warning: naked except clause |
|
195 | warning: naked except clause | |
196 | hgext/inotify/server.py:0: |
|
196 | hgext/inotify/server.py:0: | |
197 | > except: |
|
197 | > except: | |
198 | warning: naked except clause |
|
198 | warning: naked except clause | |
199 | hgext/keyword.py:0: |
|
199 | hgext/keyword.py:0: | |
200 | > ui.note("hg ci -m '%s'\n" % msg) |
|
200 | > ui.note("hg ci -m '%s'\n" % msg) | |
201 | warning: unwrapped ui message |
|
201 | warning: unwrapped ui message | |
202 | hgext/largefiles/overrides.py:0: |
|
202 | hgext/largefiles/overrides.py:0: | |
203 | > # When we call orig below it creates the standins but we don't add them |
|
203 | > # When we call orig below it creates the standins but we don't add them | |
204 | warning: line over 80 characters |
|
204 | warning: line over 80 characters | |
205 | hgext/largefiles/reposetup.py:0: |
|
205 | hgext/largefiles/reposetup.py:0: | |
206 | > if os.path.exists(self.wjoin(lfutil.standin(lfile))): |
|
206 | > if os.path.exists(self.wjoin(lfutil.standin(lfile))): | |
207 | warning: line over 80 characters |
|
207 | warning: line over 80 characters | |
208 | hgext/mq.py:0: |
|
208 | hgext/mq.py:0: | |
209 | > raise util.Abort(_("%s does not have a parent recorded" % root)) |
|
209 | > raise util.Abort(_("%s does not have a parent recorded" % root)) | |
210 | warning: line over 80 characters |
|
210 | warning: line over 80 characters | |
211 | hgext/mq.py:0: |
|
211 | hgext/mq.py:0: | |
212 | > raise util.Abort(_("cannot push --exact with applied patches")) |
|
212 | > raise util.Abort(_("cannot push --exact with applied patches")) | |
213 | warning: line over 80 characters |
|
213 | warning: line over 80 characters | |
214 | hgext/mq.py:0: |
|
214 | hgext/mq.py:0: | |
215 | > raise util.Abort(_("cannot use --exact and --move together")) |
|
215 | > raise util.Abort(_("cannot use --exact and --move together")) | |
216 | warning: line over 80 characters |
|
216 | warning: line over 80 characters | |
217 | hgext/mq.py:0: |
|
217 | hgext/mq.py:0: | |
218 | > self.ui.warn(_('Tag %s overrides mq patch of the same name\n') |
|
218 | > self.ui.warn(_('Tag %s overrides mq patch of the same name\n') | |
219 | warning: line over 80 characters |
|
219 | warning: line over 80 characters | |
220 | hgext/mq.py:0: |
|
220 | hgext/mq.py:0: | |
221 | > except: |
|
221 | > except: | |
222 | warning: naked except clause |
|
222 | warning: naked except clause | |
223 | warning: naked except clause |
|
223 | warning: naked except clause | |
224 | hgext/mq.py:0: |
|
224 | hgext/mq.py:0: | |
225 | > except: |
|
225 | > except: | |
226 | warning: naked except clause |
|
226 | warning: naked except clause | |
227 | warning: naked except clause |
|
227 | warning: naked except clause | |
228 | warning: naked except clause |
|
228 | warning: naked except clause | |
229 | warning: naked except clause |
|
229 | warning: naked except clause | |
230 | hgext/mq.py:0: |
|
230 | hgext/mq.py:0: | |
231 | > raise util.Abort(_('cannot mix -l/--list with options or arguments')) |
|
231 | > raise util.Abort(_('cannot mix -l/--list with options or arguments')) | |
232 | warning: line over 80 characters |
|
232 | warning: line over 80 characters | |
233 | hgext/mq.py:0: |
|
233 | hgext/mq.py:0: | |
234 | > raise util.Abort(_('qfold cannot fold already applied patch %s') % p) |
|
234 | > raise util.Abort(_('qfold cannot fold already applied patch %s') % p) | |
235 | warning: line over 80 characters |
|
235 | warning: line over 80 characters | |
236 | hgext/mq.py:0: |
|
236 | hgext/mq.py:0: | |
237 | > ('', 'move', None, _('reorder patch series and apply only the patch'))], |
|
237 | > ('', 'move', None, _('reorder patch series and apply only the patch'))], | |
238 | warning: line over 80 characters |
|
238 | warning: line over 80 characters | |
239 | hgext/mq.py:0: |
|
239 | hgext/mq.py:0: | |
240 | > ('U', 'noupdate', None, _('do not update the new working directories')), |
|
240 | > ('U', 'noupdate', None, _('do not update the new working directories')), | |
241 | warning: line over 80 characters |
|
241 | warning: line over 80 characters | |
242 | hgext/mq.py:0: |
|
242 | hgext/mq.py:0: | |
243 | > ('e', 'exact', None, _('apply the target patch to its recorded parent')), |
|
243 | > ('e', 'exact', None, _('apply the target patch to its recorded parent')), | |
244 | warning: line over 80 characters |
|
244 | warning: line over 80 characters | |
245 | hgext/mq.py:0: |
|
245 | hgext/mq.py:0: | |
246 | > except: |
|
246 | > except: | |
247 | warning: naked except clause |
|
247 | warning: naked except clause | |
248 | hgext/mq.py:0: |
|
248 | hgext/mq.py:0: | |
249 | > ui.write("mq: %s\n" % ', '.join(m)) |
|
249 | > ui.write("mq: %s\n" % ', '.join(m)) | |
250 | warning: unwrapped ui message |
|
250 | warning: unwrapped ui message | |
251 | hgext/mq.py:0: |
|
251 | hgext/mq.py:0: | |
252 | > repo.mq.qseries(repo, missing=opts.get('missing'), summary=opts.get('summary')) |
|
252 | > repo.mq.qseries(repo, missing=opts.get('missing'), summary=opts.get('summary')) | |
253 | warning: line over 80 characters |
|
253 | warning: line over 80 characters | |
254 | hgext/notify.py:0: |
|
254 | hgext/notify.py:0: | |
255 | > ui.note(_('notify: suppressing notification for merge %d:%s\n') % |
|
255 | > ui.note(_('notify: suppressing notification for merge %d:%s\n') % | |
256 | warning: line over 80 characters |
|
256 | warning: line over 80 characters | |
257 | hgext/patchbomb.py:0: |
|
257 | hgext/patchbomb.py:0: | |
258 | > binnode, seqno=idx, total=total) |
|
258 | > binnode, seqno=idx, total=total) | |
259 | warning: line over 80 characters |
|
259 | warning: line over 80 characters | |
260 | hgext/patchbomb.py:0: |
|
260 | hgext/patchbomb.py:0: | |
261 | > except: |
|
261 | > except: | |
262 | warning: naked except clause |
|
262 | warning: naked except clause | |
263 | hgext/patchbomb.py:0: |
|
263 | hgext/patchbomb.py:0: | |
264 | > ui.write('Subject: %s\n' % subj) |
|
264 | > ui.write('Subject: %s\n' % subj) | |
265 | warning: unwrapped ui message |
|
265 | warning: unwrapped ui message | |
266 | hgext/patchbomb.py:0: |
|
266 | hgext/patchbomb.py:0: | |
267 | > p = mail.mimetextpatch('\n'.join(patchlines), 'x-patch', opts.get('test')) |
|
267 | > p = mail.mimetextpatch('\n'.join(patchlines), 'x-patch', opts.get('test')) | |
268 | warning: line over 80 characters |
|
268 | warning: line over 80 characters | |
269 | hgext/patchbomb.py:0: |
|
269 | hgext/patchbomb.py:0: | |
270 | > ui.write('From: %s\n' % sender) |
|
270 | > ui.write('From: %s\n' % sender) | |
271 | warning: unwrapped ui message |
|
271 | warning: unwrapped ui message | |
272 | hgext/record.py:0: |
|
272 | hgext/record.py:0: | |
273 | > ignoreblanklines=opts.get('ignore_blank_lines')) |
|
273 | > ignoreblanklines=opts.get('ignore_blank_lines')) | |
274 | warning: line over 80 characters |
|
274 | warning: line over 80 characters | |
275 | hgext/record.py:0: |
|
275 | hgext/record.py:0: | |
276 | > ignorewsamount=opts.get('ignore_space_change'), |
|
276 | > ignorewsamount=opts.get('ignore_space_change'), | |
277 | warning: line over 80 characters |
|
277 | warning: line over 80 characters | |
278 | hgext/zeroconf/__init__.py:0: |
|
278 | hgext/zeroconf/__init__.py:0: | |
279 | > publish(name, desc, path, util.getport(u.config("web", "port", 8000))) |
|
279 | > publish(name, desc, path, util.getport(u.config("web", "port", 8000))) | |
280 | warning: line over 80 characters |
|
280 | warning: line over 80 characters | |
281 | hgext/zeroconf/__init__.py:0: |
|
281 | hgext/zeroconf/__init__.py:0: | |
282 | > except: |
|
282 | > except: | |
283 | warning: naked except clause |
|
283 | warning: naked except clause | |
284 | warning: naked except clause |
|
284 | warning: naked except clause | |
285 | mercurial/bundlerepo.py:0: |
|
285 | mercurial/bundlerepo.py:0: | |
286 | > is a bundlerepo for the obtained bundle when the original "other" is remote. |
|
286 | > is a bundlerepo for the obtained bundle when the original "other" is remote. | |
287 | warning: line over 80 characters |
|
287 | warning: line over 80 characters | |
288 | mercurial/bundlerepo.py:0: |
|
288 | mercurial/bundlerepo.py:0: | |
289 | > "local" is a local repo from which to obtain the actual incoming changesets; it |
|
289 | > "local" is a local repo from which to obtain the actual incoming changesets; it | |
290 | warning: line over 80 characters |
|
290 | warning: line over 80 characters | |
291 | mercurial/bundlerepo.py:0: |
|
291 | mercurial/bundlerepo.py:0: | |
292 | > tmp = discovery.findcommonincoming(repo, other, heads=onlyheads, force=force) |
|
292 | > tmp = discovery.findcommonincoming(repo, other, heads=onlyheads, force=force) | |
293 | warning: line over 80 characters |
|
293 | warning: line over 80 characters | |
294 | mercurial/commands.py:0: |
|
294 | mercurial/commands.py:0: | |
295 | > " size " + basehdr + " link p1 p2 nodeid\n") |
|
295 | > " size " + basehdr + " link p1 p2 nodeid\n") | |
296 | warning: line over 80 characters |
|
296 | warning: line over 80 characters | |
297 | mercurial/commands.py:0: |
|
297 | mercurial/commands.py:0: | |
298 | > raise util.Abort('cannot use localheads with old style discovery') |
|
298 | > raise util.Abort('cannot use localheads with old style discovery') | |
299 | warning: line over 80 characters |
|
299 | warning: line over 80 characters | |
300 | mercurial/commands.py:0: |
|
300 | mercurial/commands.py:0: | |
301 | > ui.note('branch %s\n' % data) |
|
301 | > ui.note('branch %s\n' % data) | |
302 | warning: unwrapped ui message |
|
302 | warning: unwrapped ui message | |
303 | mercurial/commands.py:0: |
|
303 | mercurial/commands.py:0: | |
304 | > ui.note('node %s\n' % str(data)) |
|
304 | > ui.note('node %s\n' % str(data)) | |
305 | warning: unwrapped ui message |
|
305 | warning: unwrapped ui message | |
306 | mercurial/commands.py:0: |
|
306 | mercurial/commands.py:0: | |
307 | > ui.note('tag %s\n' % name) |
|
307 | > ui.note('tag %s\n' % name) | |
308 | warning: unwrapped ui message |
|
308 | warning: unwrapped ui message | |
309 | mercurial/commands.py:0: |
|
309 | mercurial/commands.py:0: | |
310 | > ui.write("unpruned common: %s\n" % " ".join([short(n) |
|
310 | > ui.write("unpruned common: %s\n" % " ".join([short(n) | |
311 | warning: unwrapped ui message |
|
311 | warning: unwrapped ui message | |
312 | mercurial/commands.py:0: |
|
312 | mercurial/commands.py:0: | |
313 | > yield 'n', (r, list(set(p for p in cl.parentrevs(r) if p != -1))) |
|
313 | > yield 'n', (r, list(set(p for p in cl.parentrevs(r) if p != -1))) | |
314 | warning: line over 80 characters |
|
314 | warning: line over 80 characters | |
315 | mercurial/commands.py:0: |
|
315 | mercurial/commands.py:0: | |
316 | > yield 'n', (r, list(set(p for p in rlog.parentrevs(r) if p != -1))) |
|
316 | > yield 'n', (r, list(set(p for p in rlog.parentrevs(r) if p != -1))) | |
317 | warning: line over 80 characters |
|
317 | warning: line over 80 characters | |
318 | mercurial/commands.py:0: |
|
318 | mercurial/commands.py:0: | |
319 | > except: |
|
319 | > except: | |
320 | warning: naked except clause |
|
320 | warning: naked except clause | |
321 | mercurial/commands.py:0: |
|
321 | mercurial/commands.py:0: | |
322 | > ui.status(_("(run 'hg heads .' to see heads, 'hg merge' to merge)\n")) |
|
322 | > ui.status(_("(run 'hg heads .' to see heads, 'hg merge' to merge)\n")) | |
323 | warning: line over 80 characters |
|
323 | warning: line over 80 characters | |
324 | mercurial/commands.py:0: |
|
324 | mercurial/commands.py:0: | |
325 | > ui.write("format: id, p1, p2, cset, delta base, len(delta)\n") |
|
325 | > ui.write("format: id, p1, p2, cset, delta base, len(delta)\n") | |
326 | warning: unwrapped ui message |
|
326 | warning: unwrapped ui message | |
327 | mercurial/commands.py:0: |
|
327 | mercurial/commands.py:0: | |
328 | > ui.write("local is subset\n") |
|
328 | > ui.write("local is subset\n") | |
329 | warning: unwrapped ui message |
|
329 | warning: unwrapped ui message | |
330 | mercurial/commands.py:0: |
|
330 | mercurial/commands.py:0: | |
331 | > ui.write("remote is subset\n") |
|
331 | > ui.write("remote is subset\n") | |
332 | warning: unwrapped ui message |
|
332 | warning: unwrapped ui message | |
333 | mercurial/commands.py:0: |
|
333 | mercurial/commands.py:0: | |
334 | > ui.write(' other : ' + fmt2 % pcfmt(numoprev, numprev)) |
|
334 | > ui.write(' other : ' + fmt2 % pcfmt(numoprev, numprev)) | |
335 | warning: line over 80 characters |
|
335 | warning: line over 80 characters | |
336 | mercurial/commands.py:0: |
|
336 | mercurial/commands.py:0: | |
337 | > ui.write(' where prev = p1 : ' + fmt2 % pcfmt(nump1prev, numprev)) |
|
337 | > ui.write(' where prev = p1 : ' + fmt2 % pcfmt(nump1prev, numprev)) | |
338 | warning: line over 80 characters |
|
338 | warning: line over 80 characters | |
339 | mercurial/commands.py:0: |
|
339 | mercurial/commands.py:0: | |
340 | > ui.write(' where prev = p2 : ' + fmt2 % pcfmt(nump2prev, numprev)) |
|
340 | > ui.write(' where prev = p2 : ' + fmt2 % pcfmt(nump2prev, numprev)) | |
341 | warning: line over 80 characters |
|
341 | warning: line over 80 characters | |
342 | mercurial/commands.py:0: |
|
342 | mercurial/commands.py:0: | |
343 | > ui.write('deltas against other : ' + fmt % pcfmt(numother, numdeltas)) |
|
343 | > ui.write('deltas against other : ' + fmt % pcfmt(numother, numdeltas)) | |
344 | warning: line over 80 characters |
|
344 | warning: line over 80 characters | |
345 | warning: unwrapped ui message |
|
345 | warning: unwrapped ui message | |
346 | mercurial/commands.py:0: |
|
346 | mercurial/commands.py:0: | |
347 | > ui.write('deltas against p1 : ' + fmt % pcfmt(nump1, numdeltas)) |
|
347 | > ui.write('deltas against p1 : ' + fmt % pcfmt(nump1, numdeltas)) | |
348 | warning: unwrapped ui message |
|
348 | warning: unwrapped ui message | |
349 | mercurial/commands.py:0: |
|
349 | mercurial/commands.py:0: | |
350 | > ui.write('deltas against p2 : ' + fmt % pcfmt(nump2, numdeltas)) |
|
350 | > ui.write('deltas against p2 : ' + fmt % pcfmt(nump2, numdeltas)) | |
351 | warning: unwrapped ui message |
|
351 | warning: unwrapped ui message | |
352 | mercurial/commands.py:0: |
|
352 | mercurial/commands.py:0: | |
353 | > cmd, ext, mod = extensions.disabledcmd(ui, name, ui.config('ui', 'strict')) |
|
353 | > cmd, ext, mod = extensions.disabledcmd(ui, name, ui.config('ui', 'strict')) | |
354 | warning: line over 80 characters |
|
354 | warning: line over 80 characters | |
355 | mercurial/commands.py:0: |
|
355 | mercurial/commands.py:0: | |
356 | > except: |
|
356 | > except: | |
357 | warning: naked except clause |
|
357 | warning: naked except clause | |
358 | mercurial/commands.py:0: |
|
358 | mercurial/commands.py:0: | |
359 | > revs, checkout = hg.addbranchrevs(repo, other, branches, opts.get('rev')) |
|
359 | > revs, checkout = hg.addbranchrevs(repo, other, branches, opts.get('rev')) | |
360 | warning: line over 80 characters |
|
360 | warning: line over 80 characters | |
361 | mercurial/commands.py:0: |
|
361 | mercurial/commands.py:0: | |
362 | > ui.write("common heads: %s\n" % " ".join([short(n) for n in common])) |
|
362 | > ui.write("common heads: %s\n" % " ".join([short(n) for n in common])) | |
363 | warning: unwrapped ui message |
|
363 | warning: unwrapped ui message | |
364 | mercurial/commands.py:0: |
|
364 | mercurial/commands.py:0: | |
365 | > ui.write("match: %s\n" % m(d[0])) |
|
365 | > ui.write("match: %s\n" % m(d[0])) | |
366 | warning: unwrapped ui message |
|
366 | warning: unwrapped ui message | |
367 | mercurial/commands.py:0: |
|
367 | mercurial/commands.py:0: | |
368 | > ui.write('deltas against prev : ' + fmt % pcfmt(numprev, numdeltas)) |
|
368 | > ui.write('deltas against prev : ' + fmt % pcfmt(numprev, numdeltas)) | |
369 | warning: unwrapped ui message |
|
369 | warning: unwrapped ui message | |
370 | mercurial/commands.py:0: |
|
370 | mercurial/commands.py:0: | |
371 | > ui.write('path %s\n' % k) |
|
371 | > ui.write('path %s\n' % k) | |
372 | warning: unwrapped ui message |
|
372 | warning: unwrapped ui message | |
373 | mercurial/commands.py:0: |
|
373 | mercurial/commands.py:0: | |
374 | > ui.write('uncompressed data size (min/max/avg) : %d / %d / %d\n' |
|
374 | > ui.write('uncompressed data size (min/max/avg) : %d / %d / %d\n' | |
375 | warning: unwrapped ui message |
|
375 | warning: unwrapped ui message | |
376 | mercurial/commands.py:0: |
|
376 | mercurial/commands.py:0: | |
377 | > Every ID must be a full-length hex node id string. Returns a list of 0s and 1s |
|
377 | > Every ID must be a full-length hex node id string. Returns a list of 0s and 1s | |
378 | warning: line over 80 characters |
|
378 | warning: line over 80 characters | |
379 | mercurial/commands.py:0: |
|
379 | mercurial/commands.py:0: | |
380 | > remoteurl, branches = hg.parseurl(ui.expandpath(remoteurl), opts.get('branch')) |
|
380 | > remoteurl, branches = hg.parseurl(ui.expandpath(remoteurl), opts.get('branch')) | |
381 | warning: line over 80 characters |
|
381 | warning: line over 80 characters | |
382 | mercurial/commands.py:0: |
|
382 | mercurial/commands.py:0: | |
383 | > ui.write("digraph G {\n") |
|
383 | > ui.write("digraph G {\n") | |
384 | warning: unwrapped ui message |
|
384 | warning: unwrapped ui message | |
385 | mercurial/commands.py:0: |
|
385 | mercurial/commands.py:0: | |
386 | > ui.write("internal: %s %s\n" % d) |
|
386 | > ui.write("internal: %s %s\n" % d) | |
387 | warning: unwrapped ui message |
|
387 | warning: unwrapped ui message | |
388 | mercurial/commands.py:0: |
|
388 | mercurial/commands.py:0: | |
389 | > ui.write("standard: %s\n" % util.datestr(d)) |
|
389 | > ui.write("standard: %s\n" % util.datestr(d)) | |
390 | warning: unwrapped ui message |
|
390 | warning: unwrapped ui message | |
391 | mercurial/commands.py:0: |
|
391 | mercurial/commands.py:0: | |
392 | > ui.write('avg chain length : ' + fmt % avgchainlen) |
|
392 | > ui.write('avg chain length : ' + fmt % avgchainlen) | |
393 | warning: unwrapped ui message |
|
393 | warning: unwrapped ui message | |
394 | mercurial/commands.py:0: |
|
394 | mercurial/commands.py:0: | |
395 | > ui.write('case-sensitive: %s\n' % (util.checkcase('.debugfsinfo') |
|
395 | > ui.write('case-sensitive: %s\n' % (util.checkcase('.debugfsinfo') | |
396 | warning: unwrapped ui message |
|
396 | warning: unwrapped ui message | |
397 | mercurial/commands.py:0: |
|
397 | mercurial/commands.py:0: | |
398 | > ui.write('compression ratio : ' + fmt % compratio) |
|
398 | > ui.write('compression ratio : ' + fmt % compratio) | |
399 | warning: unwrapped ui message |
|
399 | warning: unwrapped ui message | |
400 | mercurial/commands.py:0: |
|
400 | mercurial/commands.py:0: | |
401 | > ui.write('delta size (min/max/avg) : %d / %d / %d\n' |
|
401 | > ui.write('delta size (min/max/avg) : %d / %d / %d\n' | |
402 | warning: unwrapped ui message |
|
402 | warning: unwrapped ui message | |
403 | mercurial/commands.py:0: |
|
403 | mercurial/commands.py:0: | |
404 | > ui.write('exec: %s\n' % (util.checkexec(path) and 'yes' or 'no')) |
|
404 | > ui.write('exec: %s\n' % (util.checkexec(path) and 'yes' or 'no')) | |
405 | warning: unwrapped ui message |
|
405 | warning: unwrapped ui message | |
406 | mercurial/commands.py:0: |
|
406 | mercurial/commands.py:0: | |
407 | > ui.write('flags : %s\n' % ', '.join(flags)) |
|
407 | > ui.write('flags : %s\n' % ', '.join(flags)) | |
408 | warning: unwrapped ui message |
|
408 | warning: unwrapped ui message | |
409 | mercurial/commands.py:0: |
|
409 | mercurial/commands.py:0: | |
410 | > ui.write('format : %d\n' % format) |
|
410 | > ui.write('format : %d\n' % format) | |
411 | warning: unwrapped ui message |
|
411 | warning: unwrapped ui message | |
412 | mercurial/commands.py:0: |
|
412 | mercurial/commands.py:0: | |
413 | > ui.write('full revision size (min/max/avg) : %d / %d / %d\n' |
|
413 | > ui.write('full revision size (min/max/avg) : %d / %d / %d\n' | |
414 | warning: unwrapped ui message |
|
414 | warning: unwrapped ui message | |
415 | mercurial/commands.py:0: |
|
415 | mercurial/commands.py:0: | |
416 | > ui.write('revision size : ' + fmt2 % totalsize) |
|
416 | > ui.write('revision size : ' + fmt2 % totalsize) | |
417 | warning: unwrapped ui message |
|
417 | warning: unwrapped ui message | |
418 | mercurial/commands.py:0: |
|
418 | mercurial/commands.py:0: | |
419 | > ui.write('revisions : ' + fmt2 % numrevs) |
|
419 | > ui.write('revisions : ' + fmt2 % numrevs) | |
420 | warning: unwrapped ui message |
|
420 | warning: unwrapped ui message | |
421 | warning: unwrapped ui message |
|
421 | warning: unwrapped ui message | |
422 | mercurial/commands.py:0: |
|
422 | mercurial/commands.py:0: | |
423 | > ui.write('symlink: %s\n' % (util.checklink(path) and 'yes' or 'no')) |
|
423 | > ui.write('symlink: %s\n' % (util.checklink(path) and 'yes' or 'no')) | |
424 | warning: unwrapped ui message |
|
424 | warning: unwrapped ui message | |
425 | mercurial/commandserver.py:0: |
|
425 | mercurial/commandserver.py:0: | |
426 | > # the ui here is really the repo ui so take its baseui so we don't end up |
|
426 | > # the ui here is really the repo ui so take its baseui so we don't end up | |
427 | warning: line over 80 characters |
|
427 | warning: line over 80 characters | |
428 | mercurial/context.py:0: |
|
428 | mercurial/context.py:0: | |
429 | > return self._manifestdelta[path], self._manifestdelta.flags(path) |
|
429 | > return self._manifestdelta[path], self._manifestdelta.flags(path) | |
430 | warning: line over 80 characters |
|
430 | warning: line over 80 characters | |
431 | mercurial/dagparser.py:0: |
|
431 | mercurial/dagparser.py:0: | |
432 | > raise util.Abort(_("invalid character in dag description: %s...") % s) |
|
432 | > raise util.Abort(_("invalid character in dag description: %s...") % s) | |
433 | warning: line over 80 characters |
|
433 | warning: line over 80 characters | |
434 | mercurial/dagparser.py:0: |
|
434 | mercurial/dagparser.py:0: | |
435 | > >>> dagtext([('n', (0, [-1])), ('C', 'my command line'), ('n', (1, [0]))]) |
|
435 | > >>> dagtext([('n', (0, [-1])), ('C', 'my command line'), ('n', (1, [0]))]) | |
436 | warning: line over 80 characters |
|
436 | warning: line over 80 characters | |
437 | mercurial/dirstate.py:0: |
|
437 | mercurial/dirstate.py:0: | |
438 | > if not st is None and not getkind(st.st_mode) in (regkind, lnkkind): |
|
438 | > if not st is None and not getkind(st.st_mode) in (regkind, lnkkind): | |
439 | warning: line over 80 characters |
|
439 | warning: line over 80 characters | |
440 | mercurial/discovery.py:0: |
|
440 | mercurial/discovery.py:0: | |
441 | > If onlyheads is given, only nodes ancestral to nodes in onlyheads (inclusive) |
|
441 | > If onlyheads is given, only nodes ancestral to nodes in onlyheads (inclusive) | |
442 | warning: line over 80 characters |
|
442 | warning: line over 80 characters | |
443 | mercurial/discovery.py:0: |
|
443 | mercurial/discovery.py:0: | |
444 | > def findcommonoutgoing(repo, other, onlyheads=None, force=False, commoninc=None): |
|
444 | > def findcommonoutgoing(repo, other, onlyheads=None, force=False, commoninc=None): | |
445 | warning: line over 80 characters |
|
445 | warning: line over 80 characters | |
446 | mercurial/dispatch.py:0: |
|
446 | mercurial/dispatch.py:0: | |
447 | > " (.hg not found)") % os.getcwd()) |
|
447 | > " (.hg not found)") % os.getcwd()) | |
448 | warning: line over 80 characters |
|
448 | warning: line over 80 characters | |
449 | mercurial/dispatch.py:0: |
|
449 | mercurial/dispatch.py:0: | |
450 | > aliases, entry = cmdutil.findcmd(cmd, cmdtable, lui.config("ui", "strict")) |
|
450 | > aliases, entry = cmdutil.findcmd(cmd, cmdtable, lui.config("ui", "strict")) | |
451 | warning: line over 80 characters |
|
451 | warning: line over 80 characters | |
452 | mercurial/dispatch.py:0: |
|
452 | mercurial/dispatch.py:0: | |
453 | > except: |
|
453 | > except: | |
454 | warning: naked except clause |
|
454 | warning: naked except clause | |
455 | mercurial/dispatch.py:0: |
|
455 | mercurial/dispatch.py:0: | |
456 | > return lambda: runcommand(lui, None, cmd, args[:1], ui, options, d, [], {}) |
|
456 | > return lambda: runcommand(lui, None, cmd, args[:1], ui, options, d, [], {}) | |
457 | warning: line over 80 characters |
|
457 | warning: line over 80 characters | |
458 | mercurial/dispatch.py:0: |
|
458 | mercurial/dispatch.py:0: | |
459 | > def __init__(self, args, ui=None, repo=None, fin=None, fout=None, ferr=None): |
|
459 | > def __init__(self, args, ui=None, repo=None, fin=None, fout=None, ferr=None): | |
460 | warning: line over 80 characters |
|
460 | warning: line over 80 characters | |
461 | mercurial/dispatch.py:0: |
|
461 | mercurial/dispatch.py:0: | |
462 | > except: |
|
462 | > except: | |
463 | warning: naked except clause |
|
463 | warning: naked except clause | |
464 | mercurial/hg.py:0: |
|
464 | mercurial/hg.py:0: | |
465 | > except: |
|
465 | > except: | |
466 | warning: naked except clause |
|
466 | warning: naked except clause | |
467 | mercurial/hgweb/hgweb_mod.py:0: |
|
467 | mercurial/hgweb/hgweb_mod.py:0: | |
468 | > self.maxshortchanges = int(self.config("web", "maxshortchanges", 60)) |
|
468 | > self.maxshortchanges = int(self.config("web", "maxshortchanges", 60)) | |
469 | warning: line over 80 characters |
|
469 | warning: line over 80 characters | |
470 | mercurial/keepalive.py:0: |
|
470 | mercurial/keepalive.py:0: | |
471 | > except: |
|
471 | > except: | |
472 | warning: naked except clause |
|
472 | warning: naked except clause | |
473 | mercurial/keepalive.py:0: |
|
473 | mercurial/keepalive.py:0: | |
474 | > except: |
|
474 | > except: | |
475 | warning: naked except clause |
|
475 | warning: naked except clause | |
476 | mercurial/localrepo.py:0: |
|
476 | mercurial/localrepo.py:0: | |
477 | > hint=_("use --subrepos for recursive commit")) |
|
477 | > hint=_("use --subrepos for recursive commit")) | |
478 | warning: line over 80 characters |
|
478 | warning: line over 80 characters | |
479 | mercurial/localrepo.py:0: |
|
479 | mercurial/localrepo.py:0: | |
480 | > # we return an integer indicating remote head count change |
|
480 | > # we return an integer indicating remote head count change | |
481 | warning: line over 80 characters |
|
481 | warning: line over 80 characters | |
482 | mercurial/localrepo.py:0: |
|
482 | mercurial/localrepo.py:0: | |
483 | > raise util.Abort(_("empty or missing revlog for %s") % fname) |
|
483 | > raise util.Abort(_("empty or missing revlog for %s") % fname) | |
484 | warning: line over 80 characters |
|
484 | warning: line over 80 characters | |
485 | warning: line over 80 characters |
|
485 | warning: line over 80 characters | |
486 | mercurial/localrepo.py:0: |
|
486 | mercurial/localrepo.py:0: | |
487 | > if self._tagscache.tagtypes and name in self._tagscache.tagtypes: |
|
487 | > if self._tagscache.tagtypes and name in self._tagscache.tagtypes: | |
488 | warning: line over 80 characters |
|
488 | warning: line over 80 characters | |
489 | mercurial/localrepo.py:0: |
|
489 | mercurial/localrepo.py:0: | |
490 | > self.hook("precommit", throw=True, parent1=hookp1, parent2=hookp2) |
|
490 | > self.hook("precommit", throw=True, parent1=hookp1, parent2=hookp2) | |
491 | warning: line over 80 characters |
|
491 | warning: line over 80 characters | |
492 | mercurial/localrepo.py:0: |
|
492 | mercurial/localrepo.py:0: | |
493 | > # new requirements = old non-format requirements + new format-related |
|
493 | > # new requirements = old non-format requirements + new format-related | |
494 | warning: line over 80 characters |
|
494 | warning: line over 80 characters | |
495 | mercurial/localrepo.py:0: |
|
495 | mercurial/localrepo.py:0: | |
496 | > except: |
|
496 | > except: | |
497 | warning: naked except clause |
|
497 | warning: naked except clause | |
498 | mercurial/localrepo.py:0: |
|
498 | mercurial/localrepo.py:0: | |
499 | > """return status of files between two nodes or node and working directory |
|
499 | > """return status of files between two nodes or node and working directory | |
500 | warning: line over 80 characters |
|
500 | warning: line over 80 characters | |
501 | mercurial/localrepo.py:0: |
|
501 | mercurial/localrepo.py:0: | |
502 | > '''Returns a tagscache object that contains various tags related caches.''' |
|
502 | > '''Returns a tagscache object that contains various tags related caches.''' | |
503 | warning: line over 80 characters |
|
503 | warning: line over 80 characters | |
504 | mercurial/manifest.py:0: |
|
504 | mercurial/manifest.py:0: | |
505 | > return "".join(struct.pack(">lll", start, end, len(content)) + content |
|
505 | > return "".join(struct.pack(">lll", start, end, len(content)) + content | |
506 | warning: line over 80 characters |
|
506 | warning: line over 80 characters | |
507 | mercurial/merge.py:0: |
|
507 | mercurial/merge.py:0: | |
508 | > subrepo.submerge(repo, wctx, mctx, wctx.ancestor(mctx), overwrite) |
|
508 | > subrepo.submerge(repo, wctx, mctx, wctx.ancestor(mctx), overwrite) | |
509 | warning: line over 80 characters |
|
509 | warning: line over 80 characters | |
510 | mercurial/patch.py:0: |
|
510 | mercurial/patch.py:0: | |
511 | > modified, added, removed, copy, getfilectx, opts, losedata, prefix) |
|
511 | > modified, added, removed, copy, getfilectx, opts, losedata, prefix) | |
512 | warning: line over 80 characters |
|
512 | warning: line over 80 characters | |
513 | mercurial/patch.py:0: |
|
513 | mercurial/patch.py:0: | |
514 | > diffhelpers.addlines(lr, self.hunk, self.lena, self.lenb, self.a, self.b) |
|
514 | > diffhelpers.addlines(lr, self.hunk, self.lena, self.lenb, self.a, self.b) | |
515 | warning: line over 80 characters |
|
515 | warning: line over 80 characters | |
516 | mercurial/patch.py:0: |
|
516 | mercurial/patch.py:0: | |
517 | > output.append(_(' %d files changed, %d insertions(+), %d deletions(-)\n') |
|
517 | > output.append(_(' %d files changed, %d insertions(+), %d deletions(-)\n') | |
518 | warning: line over 80 characters |
|
518 | warning: line over 80 characters | |
519 | mercurial/patch.py:0: |
|
519 | mercurial/patch.py:0: | |
520 | > except: |
|
520 | > except: | |
521 | warning: naked except clause |
|
521 | warning: naked except clause | |
522 | mercurial/pure/base85.py:0: |
|
522 | mercurial/pure/base85.py:0: | |
523 | > raise OverflowError('Base85 overflow in hunk starting at byte %d' % i) |
|
523 | > raise OverflowError('Base85 overflow in hunk starting at byte %d' % i) | |
524 | warning: line over 80 characters |
|
524 | warning: line over 80 characters | |
525 | mercurial/pure/mpatch.py:0: |
|
525 | mercurial/pure/mpatch.py:0: | |
526 | > frags.extend(reversed(new)) # what was left at the end |
|
526 | > frags.extend(reversed(new)) # what was left at the end | |
527 | warning: line over 80 characters |
|
527 | warning: line over 80 characters | |
528 | mercurial/repair.py:0: |
|
528 | mercurial/repair.py:0: | |
529 | > except: |
|
529 | > except: | |
530 | warning: naked except clause |
|
530 | warning: naked except clause | |
531 | mercurial/repair.py:0: |
|
531 | mercurial/repair.py:0: | |
532 | > except: |
|
532 | > except: | |
533 | warning: naked except clause |
|
533 | warning: naked except clause | |
534 | mercurial/revset.py:0: |
|
534 | mercurial/revset.py:0: | |
535 | > elif c.isalnum() or c in '._' or ord(c) > 127: # gather up a symbol/keyword |
|
535 | > elif c.isalnum() or c in '._' or ord(c) > 127: # gather up a symbol/keyword | |
536 | warning: line over 80 characters |
|
536 | warning: line over 80 characters | |
537 | mercurial/revset.py:0: |
|
537 | mercurial/revset.py:0: | |
538 | > Changesets that are the Nth ancestor (first parents only) of a changeset in set. |
|
538 | > Changesets that are the Nth ancestor (first parents only) of a changeset in set. | |
539 | warning: line over 80 characters |
|
539 | warning: line over 80 characters | |
540 | mercurial/scmutil.py:0: |
|
540 | mercurial/scmutil.py:0: | |
541 | > raise util.Abort(_("path '%s' is inside nested repo %r") % |
|
541 | > raise util.Abort(_("path '%s' is inside nested repo %r") % | |
542 | warning: line over 80 characters |
|
542 | warning: line over 80 characters | |
543 | mercurial/scmutil.py:0: |
|
543 | mercurial/scmutil.py:0: | |
544 | > "requires features '%s' (upgrade Mercurial)") % "', '".join(missings)) |
|
544 | > "requires features '%s' (upgrade Mercurial)") % "', '".join(missings)) | |
545 | warning: line over 80 characters |
|
545 | warning: line over 80 characters | |
546 | mercurial/scmutil.py:0: |
|
546 | mercurial/scmutil.py:0: | |
547 | > elif repo.dirstate[abs] != 'r' and (not good or not os.path.lexists(target) |
|
547 | > elif repo.dirstate[abs] != 'r' and (not good or not os.path.lexists(target) | |
548 | warning: line over 80 characters |
|
548 | warning: line over 80 characters | |
549 | mercurial/setdiscovery.py:0: |
|
549 | mercurial/setdiscovery.py:0: | |
550 | > # treat remote heads (and maybe own heads) as a first implicit sample response |
|
550 | > # treat remote heads (and maybe own heads) as a first implicit sample response | |
551 | warning: line over 80 characters |
|
551 | warning: line over 80 characters | |
552 | mercurial/setdiscovery.py:0: |
|
552 | mercurial/setdiscovery.py:0: | |
553 | > undecided = dag.nodeset() # own nodes where I don't know if remote knows them |
|
553 | > undecided = dag.nodeset() # own nodes where I don't know if remote knows them | |
554 | warning: line over 80 characters |
|
554 | warning: line over 80 characters | |
555 | mercurial/similar.py:0: |
|
555 | mercurial/similar.py:0: | |
556 | > repo.ui.progress(_('searching for similar files'), i, total=len(removed)) |
|
556 | > repo.ui.progress(_('searching for similar files'), i, total=len(removed)) | |
557 | warning: line over 80 characters |
|
557 | warning: line over 80 characters | |
558 | mercurial/simplemerge.py:0: |
|
558 | mercurial/simplemerge.py:0: | |
559 | > for zmatch, zend, amatch, aend, bmatch, bend in self.find_sync_regions(): |
|
559 | > for zmatch, zend, amatch, aend, bmatch, bend in self.find_sync_regions(): | |
560 | warning: line over 80 characters |
|
560 | warning: line over 80 characters | |
561 | mercurial/sshrepo.py:0: |
|
561 | mercurial/sshrepo.py:0: | |
562 | > self._abort(error.RepoError(_("no suitable response from remote hg"))) |
|
562 | > self._abort(error.RepoError(_("no suitable response from remote hg"))) | |
563 | warning: line over 80 characters |
|
563 | warning: line over 80 characters | |
564 | mercurial/sshrepo.py:0: |
|
564 | mercurial/sshrepo.py:0: | |
565 | > except: |
|
565 | > except: | |
566 | warning: naked except clause |
|
566 | warning: naked except clause | |
567 | mercurial/subrepo.py:0: |
|
567 | mercurial/subrepo.py:0: | |
568 | > other, self._repo = hg.clone(self._repo._subparent.ui, {}, other, |
|
568 | > other, self._repo = hg.clone(self._repo._subparent.ui, {}, other, | |
569 | warning: line over 80 characters |
|
569 | warning: line over 80 characters | |
570 | mercurial/subrepo.py:0: |
|
570 | mercurial/subrepo.py:0: | |
571 | > msg = (_(' subrepository sources for %s differ (in checked out version)\n' |
|
571 | > msg = (_(' subrepository sources for %s differ (in checked out version)\n' | |
572 | warning: line over 80 characters |
|
572 | warning: line over 80 characters | |
573 | mercurial/transaction.py:0: |
|
573 | mercurial/transaction.py:0: | |
574 | > except: |
|
574 | > except: | |
575 | warning: naked except clause |
|
575 | warning: naked except clause | |
576 | mercurial/ui.py:0: |
|
576 | mercurial/ui.py:0: | |
577 | > traceback.print_exception(exc[0], exc[1], exc[2], file=self.ferr) |
|
577 | > traceback.print_exception(exc[0], exc[1], exc[2], file=self.ferr) | |
578 | warning: line over 80 characters |
|
578 | warning: line over 80 characters | |
579 | mercurial/url.py:0: |
|
579 | mercurial/url.py:0: | |
580 | > conn = httpsconnection(host, port, keyfile, certfile, *args, **kwargs) |
|
580 | > conn = httpsconnection(host, port, keyfile, certfile, *args, **kwargs) | |
581 | warning: line over 80 characters |
|
581 | warning: line over 80 characters | |
582 | mercurial/util.py:0: |
|
582 | mercurial/util.py:0: | |
583 | > except: |
|
583 | > except: | |
584 | warning: naked except clause |
|
584 | warning: naked except clause | |
585 | mercurial/util.py:0: |
|
585 | mercurial/util.py:0: | |
586 | > except: |
|
586 | > except: | |
587 | warning: naked except clause |
|
587 | warning: naked except clause | |
588 | mercurial/verify.py:0: |
|
588 | mercurial/verify.py:0: | |
589 | > except: |
|
589 | > except: | |
590 | warning: naked except clause |
|
590 | warning: naked except clause | |
591 | mercurial/verify.py:0: |
|
591 | mercurial/verify.py:0: | |
592 | > except: |
|
592 | > except: | |
593 | warning: naked except clause |
|
593 | warning: naked except clause | |
594 | mercurial/wireproto.py:0: |
|
594 | mercurial/wireproto.py:0: | |
595 | > # Assuming the future to be filled with the result from the batched request |
|
595 | > # Assuming the future to be filled with the result from the batched request | |
596 | warning: line over 80 characters |
|
596 | warning: line over 80 characters | |
597 | mercurial/wireproto.py:0: |
|
597 | mercurial/wireproto.py:0: | |
598 | > '''remote must support _submitbatch(encbatch) and _submitone(op, encargs)''' |
|
598 | > '''remote must support _submitbatch(encbatch) and _submitone(op, encargs)''' | |
599 | warning: line over 80 characters |
|
599 | warning: line over 80 characters | |
600 | mercurial/wireproto.py:0: |
|
600 | mercurial/wireproto.py:0: | |
601 | > All methods invoked on instances of this class are simply queued and return a |
|
601 | > All methods invoked on instances of this class are simply queued and return a | |
602 | warning: line over 80 characters |
|
602 | warning: line over 80 characters | |
603 | mercurial/wireproto.py:0: |
|
603 | mercurial/wireproto.py:0: | |
604 | > The decorator returns a function which wraps this coroutine as a plain method, |
|
604 | > The decorator returns a function which wraps this coroutine as a plain method, | |
605 | warning: line over 80 characters |
|
605 | warning: line over 80 characters | |
606 | setup.py:0: |
|
606 | setup.py:0: | |
607 | > raise SystemExit("Python headers are required to build Mercurial") |
|
607 | > raise SystemExit("Python headers are required to build Mercurial") | |
608 | warning: line over 80 characters |
|
608 | warning: line over 80 characters | |
609 | setup.py:0: |
|
609 | setup.py:0: | |
610 | > except: |
|
610 | > except: | |
611 | warning: naked except clause |
|
611 | warning: naked except clause | |
612 | setup.py:0: |
|
612 | setup.py:0: | |
613 | > # build_py), it will not find osutil & friends, thinking that those modules are |
|
613 | > # build_py), it will not find osutil & friends, thinking that those modules are | |
614 | warning: line over 80 characters |
|
614 | warning: line over 80 characters | |
615 | setup.py:0: |
|
615 | setup.py:0: | |
616 | > except: |
|
616 | > except: | |
617 | warning: naked except clause |
|
617 | warning: naked except clause | |
618 | warning: naked except clause |
|
618 | warning: naked except clause | |
619 | setup.py:0: |
|
619 | setup.py:0: | |
620 | > isironpython = platform.python_implementation().lower().find("ironpython") != -1 |
|
620 | > isironpython = platform.python_implementation().lower().find("ironpython") != -1 | |
621 | warning: line over 80 characters |
|
621 | warning: line over 80 characters | |
622 | setup.py:0: |
|
622 | setup.py:0: | |
623 | > except: |
|
623 | > except: | |
624 | warning: naked except clause |
|
624 | warning: naked except clause | |
625 | warning: naked except clause |
|
625 | warning: naked except clause | |
626 | warning: naked except clause |
|
626 | warning: naked except clause | |
627 | tests/autodiff.py:0: |
|
627 | tests/autodiff.py:0: | |
628 | > ui.write('data lost for: %s\n' % fn) |
|
628 | > ui.write('data lost for: %s\n' % fn) | |
629 | warning: unwrapped ui message |
|
629 | warning: unwrapped ui message | |
630 | tests/run-tests.py:0: |
|
630 | tests/run-tests.py:0: | |
631 | > except: |
|
631 | > except: | |
632 | warning: naked except clause |
|
632 | warning: naked except clause | |
633 | tests/test-commandserver.py:0: |
|
633 | tests/test-commandserver.py:0: | |
634 | > 'hooks.pre-identify=python:test-commandserver.hook', 'id'], |
|
634 | > 'hooks.pre-identify=python:test-commandserver.hook', 'id'], | |
635 | warning: line over 80 characters |
|
635 | warning: line over 80 characters | |
636 | tests/test-commandserver.py:0: |
|
636 | tests/test-commandserver.py:0: | |
637 | > # the cached repo local hgrc contains ui.foo=bar, so showconfig should show it |
|
637 | > # the cached repo local hgrc contains ui.foo=bar, so showconfig should show it | |
638 | warning: line over 80 characters |
|
638 | warning: line over 80 characters | |
639 | tests/test-commandserver.py:0: |
|
639 | tests/test-commandserver.py:0: | |
640 | > print '%c, %r' % (ch, re.sub('encoding: [a-zA-Z0-9-]+', 'encoding: ***', data)) |
|
640 | > print '%c, %r' % (ch, re.sub('encoding: [a-zA-Z0-9-]+', 'encoding: ***', data)) | |
641 | warning: line over 80 characters |
|
641 | warning: line over 80 characters | |
642 | tests/test-filecache.py:0: |
|
642 | tests/test-filecache.py:0: | |
643 | > except: |
|
643 | > except: | |
644 | warning: naked except clause |
|
644 | warning: naked except clause | |
645 | tests/test-filecache.py:0: |
|
645 | tests/test-filecache.py:0: | |
646 | > if subprocess.call(['python', '%s/hghave' % os.environ['TESTDIR'], 'cacheable']): |
|
646 | > if subprocess.call(['python', '%s/hghave' % os.environ['TESTDIR'], 'cacheable']): | |
647 | warning: line over 80 characters |
|
647 | warning: line over 80 characters | |
648 | tests/test-ui-color.py:0: |
|
648 | tests/test-ui-color.py:0: | |
649 | > testui.warn('warning\n') |
|
649 | > testui.warn('warning\n') | |
650 | warning: unwrapped ui message |
|
650 | warning: unwrapped ui message | |
651 | tests/test-ui-color.py:0: |
|
651 | tests/test-ui-color.py:0: | |
652 | > testui.write('buffered\n') |
|
652 | > testui.write('buffered\n') | |
653 | warning: unwrapped ui message |
|
653 | warning: unwrapped ui message | |
654 | tests/test-walkrepo.py:0: |
|
654 | tests/test-walkrepo.py:0: | |
655 | > print "Found %d repositories when I should have found 2" % (len(reposet),) |
|
655 | > print "Found %d repositories when I should have found 2" % (len(reposet),) | |
656 | warning: line over 80 characters |
|
656 | warning: line over 80 characters | |
657 | tests/test-walkrepo.py:0: |
|
657 | tests/test-walkrepo.py:0: | |
658 | > print "Found %d repositories when I should have found 3" % (len(reposet),) |
|
658 | > print "Found %d repositories when I should have found 3" % (len(reposet),) | |
659 | warning: line over 80 characters |
|
659 | warning: line over 80 characters | |
660 | [123] |
|
General Comments 0
You need to be logged in to leave comments.
Login now