Show More
@@ -850,7 +850,6 b' def perfrevlog(ui, repo, file_=None, sta' | |||||
850 |
|
850 | |||
851 | The start revision can be defined via ``-s/--startrev``. |
|
851 | The start revision can be defined via ``-s/--startrev``. | |
852 | """ |
|
852 | """ | |
853 | timer, fm = gettimer(ui, opts) |
|
|||
854 | _len = getlen(ui) |
|
853 | _len = getlen(ui) | |
855 |
|
854 | |||
856 | def d(): |
|
855 | def d(): | |
@@ -867,6 +866,7 b' def perfrevlog(ui, repo, file_=None, sta' | |||||
867 | for x in xrange(beginrev, endrev, dist): |
|
866 | for x in xrange(beginrev, endrev, dist): | |
868 | r.revision(r.node(x)) |
|
867 | r.revision(r.node(x)) | |
869 |
|
868 | |||
|
869 | timer, fm = gettimer(ui, opts) | |||
870 | timer(d) |
|
870 | timer(d) | |
871 | fm.end() |
|
871 | fm.end() | |
872 |
|
872 |
@@ -9,7 +9,7 b' New errors are not allowed. Warnings are' | |||||
9 |
|
9 | |||
10 | $ hg locate -X contrib/python-zstandard -X hgext/fsmonitor/pywatchman | |
|
10 | $ hg locate -X contrib/python-zstandard -X hgext/fsmonitor/pywatchman | | |
11 | > sed 's-\\-/-g' | "$check_code" --warnings --per-file=0 - || false |
|
11 | > sed 's-\\-/-g' | "$check_code" --warnings --per-file=0 - || false | |
12 |
contrib/perf.py:86 |
|
12 | contrib/perf.py:867: | |
13 | > r.revision(r.node(x)) |
|
13 | > r.revision(r.node(x)) | |
14 | don't convert rev to node before passing to revision(nodeorrev) |
|
14 | don't convert rev to node before passing to revision(nodeorrev) | |
15 | Skipping i18n/polib.py it has no-che?k-code (glob) |
|
15 | Skipping i18n/polib.py it has no-che?k-code (glob) |
@@ -165,7 +165,7 b' Check perf.py for historical portability' | |||||
165 | $ (hg files -r 1.2 glob:mercurial/*.c glob:mercurial/*.py; |
|
165 | $ (hg files -r 1.2 glob:mercurial/*.c glob:mercurial/*.py; | |
166 | > hg files -r tip glob:mercurial/*.c glob:mercurial/*.py) | |
|
166 | > hg files -r tip glob:mercurial/*.c glob:mercurial/*.py) | | |
167 | > "$TESTDIR"/check-perf-code.py contrib/perf.py |
|
167 | > "$TESTDIR"/check-perf-code.py contrib/perf.py | |
168 |
contrib/perf.py:86 |
|
168 | contrib/perf.py:867: | |
169 | > r.revision(r.node(x)) |
|
169 | > r.revision(r.node(x)) | |
170 | don't convert rev to node before passing to revision(nodeorrev) |
|
170 | don't convert rev to node before passing to revision(nodeorrev) | |
171 | [1] |
|
171 | [1] |
General Comments 0
You need to be logged in to leave comments.
Login now