Show More
@@ -864,7 +864,7 b' def perfrevlog(ui, repo, file_=None, sta' | |||
|
864 | 864 | dist = -1 * dist |
|
865 | 865 | |
|
866 | 866 | for x in xrange(beginrev, endrev, dist): |
|
867 |
r.revision( |
|
|
867 | r.revision(x) | |
|
868 | 868 | |
|
869 | 869 | timer, fm = gettimer(ui, opts) |
|
870 | 870 | timer(d) |
@@ -9,15 +9,11 b' New errors are not allowed. Warnings are' | |||
|
9 | 9 | |
|
10 | 10 | $ hg locate -X contrib/python-zstandard -X hgext/fsmonitor/pywatchman | |
|
11 | 11 | > sed 's-\\-/-g' | "$check_code" --warnings --per-file=0 - || false |
|
12 | contrib/perf.py:867: | |
|
13 | > r.revision(r.node(x)) | |
|
14 | don't convert rev to node before passing to revision(nodeorrev) | |
|
15 | 12 | Skipping i18n/polib.py it has no-che?k-code (glob) |
|
16 | 13 | Skipping mercurial/httpclient/__init__.py it has no-che?k-code (glob) |
|
17 | 14 | Skipping mercurial/httpclient/_readers.py it has no-che?k-code (glob) |
|
18 | 15 | Skipping mercurial/statprof.py it has no-che?k-code (glob) |
|
19 | 16 | Skipping tests/badserverext.py it has no-che?k-code (glob) |
|
20 | [1] | |
|
21 | 17 | |
|
22 | 18 | @commands in debugcommands.py should be in alphabetical order. |
|
23 | 19 |
@@ -165,7 +165,3 b' Check perf.py for historical portability' | |||
|
165 | 165 | $ (hg files -r 1.2 glob:mercurial/*.c glob:mercurial/*.py; |
|
166 | 166 | > hg files -r tip glob:mercurial/*.c glob:mercurial/*.py) | |
|
167 | 167 | > "$TESTDIR"/check-perf-code.py contrib/perf.py |
|
168 | contrib/perf.py:867: | |
|
169 | > r.revision(r.node(x)) | |
|
170 | don't convert rev to node before passing to revision(nodeorrev) | |
|
171 | [1] |
General Comments 0
You need to be logged in to leave comments.
Login now