Show More
@@ -116,7 +116,7 b' def colorstatus(orig, ui, repo, *pats, *' | |||
|
116 | 116 | lines = lines_with_status |
|
117 | 117 | |
|
118 | 118 | # apply color to output and display it |
|
119 |
for i in xrange( |
|
|
119 | for i in xrange(len(lines)): | |
|
120 | 120 | status = _status_abbreviations[lines_with_status[i][0]] |
|
121 | 121 | effects = _status_effects[status] |
|
122 | 122 | if effects: |
@@ -188,7 +188,7 b' def revtree(ui, args, repo, full="tree",' | |||
|
188 | 188 | else: |
|
189 | 189 | i -= chunk |
|
190 | 190 | |
|
191 |
for x in xrange( |
|
|
191 | for x in xrange(chunk): | |
|
192 | 192 | if i + x >= count: |
|
193 | 193 | l[chunk - x:] = [0] * (chunk - x) |
|
194 | 194 | break |
@@ -1407,7 +1407,7 b' class queue:' | |||
|
1407 | 1407 | series = [] |
|
1408 | 1408 | applied = [] |
|
1409 | 1409 | qpp = None |
|
1410 |
for i in xrange( |
|
|
1410 | for i in xrange(len(lines)): | |
|
1411 | 1411 | if lines[i] == 'Patch Data:': |
|
1412 | 1412 | datastart = i + 1 |
|
1413 | 1413 | elif lines[i].startswith('Dirstate:'): |
General Comments 0
You need to be logged in to leave comments.
Login now