Show More
@@ -235,7 +235,7 b' def shrink(ui, repo, **opts):' | |||||
235 | for i in xrange(1, len(order)): |
|
235 | for i in xrange(1, len(order)): | |
236 | parents = [p for p in r1.parentrevs(order[i]) |
|
236 | parents = [p for p in r1.parentrevs(order[i]) | |
237 | if p != node.nullrev] |
|
237 | if p != node.nullrev] | |
238 | if parents and order[i-1] not in parents: |
|
238 | if parents and order[i - 1] not in parents: | |
239 | suboptimal += 1 |
|
239 | suboptimal += 1 | |
240 | ui.note(_('%d suboptimal nodes\n') % suboptimal) |
|
240 | ui.note(_('%d suboptimal nodes\n') % suboptimal) | |
241 |
|
241 |
General Comments 0
You need to be logged in to leave comments.
Login now