Show More
@@ -340,6 +340,8 b' pypats = [' | |||||
340 | (r'^import pickle', "don't use pickle, use util.pickle"), |
|
340 | (r'^import pickle', "don't use pickle, use util.pickle"), | |
341 | (r'^import httplib', "don't use httplib, use util.httplib"), |
|
341 | (r'^import httplib', "don't use httplib, use util.httplib"), | |
342 | (r'^import BaseHTTPServer', "use util.httpserver instead"), |
|
342 | (r'^import BaseHTTPServer', "use util.httpserver instead"), | |
|
343 | (r'^(from|import) mercurial\.(cext|pure|cffi)', | |||
|
344 | "use mercurial.policy.importmod instead"), | |||
343 | (r'\.next\(\)', "don't use .next(), use next(...)"), |
|
345 | (r'\.next\(\)', "don't use .next(), use next(...)"), | |
344 | (r'([a-z]*).revision\(\1\.node\(', |
|
346 | (r'([a-z]*).revision\(\1\.node\(', | |
345 | "don't convert rev to node before passing to revision(nodeorrev)"), |
|
347 | "don't convert rev to node before passing to revision(nodeorrev)"), |
General Comments 0
You need to be logged in to leave comments.
Login now