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