Show More
@@ -11,7 +11,6 | |||||
11 | from __future__ import absolute_import |
|
11 | from __future__ import absolute_import | |
12 |
|
12 | |||
13 | import collections |
|
13 | import collections | |
14 | import os |
|
|||
15 |
|
14 | |||
16 | from .i18n import _ |
|
15 | from .i18n import _ | |
17 | from .node import ( |
|
16 | from .node import ( | |
@@ -143,8 +142,7 def bisect(changelog, state): | |||||
143 |
|
142 | |||
144 | def load_state(repo): |
|
143 | def load_state(repo): | |
145 | state = {'current': [], 'good': [], 'bad': [], 'skip': []} |
|
144 | state = {'current': [], 'good': [], 'bad': [], 'skip': []} | |
146 |
|
|
145 | for l in repo.vfs.tryreadlines("bisect.state"): | |
147 | for l in repo.vfs("bisect.state"): |
|
|||
148 |
|
|
146 | kind, node = l[:-1].split() | |
149 |
|
|
147 | node = repo.lookup(node) | |
150 |
|
|
148 | if kind not in state: |
General Comments 0
You need to be logged in to leave comments.
Login now