Show More
@@ -856,15 +856,15 b' def perfrevlog(ui, repo, file_=None, sta' | |||||
856 | def d(): |
|
856 | def d(): | |
857 | r = cmdutil.openrevlog(repo, 'perfrevlog', file_, opts) |
|
857 | r = cmdutil.openrevlog(repo, 'perfrevlog', file_, opts) | |
858 |
|
858 | |||
859 |
|
|
859 | beginrev = startrev | |
860 | endrev = _len(r) |
|
860 | endrev = _len(r) | |
861 | dist = opts['dist'] |
|
861 | dist = opts['dist'] | |
862 |
|
862 | |||
863 | if reverse: |
|
863 | if reverse: | |
864 |
|
|
864 | beginrev, endrev = endrev, beginrev | |
865 | dist = -1 * dist |
|
865 | dist = -1 * dist | |
866 |
|
866 | |||
867 |
for x in xrange( |
|
867 | for x in xrange(beginrev, endrev, dist): | |
868 | r.revision(r.node(x)) |
|
868 | r.revision(r.node(x)) | |
869 |
|
869 | |||
870 | timer(d) |
|
870 | timer(d) |
General Comments 0
You need to be logged in to leave comments.
Login now