Show More
@@ -153,14 +153,11 b' def load_state(repo):' | |||
|
153 | 153 | |
|
154 | 154 | def save_state(repo, state): |
|
155 | 155 | f = repo.vfs("bisect.state", "w", atomictemp=True) |
|
156 |
w |
|
|
157 | try: | |
|
156 | with repo.wlock(): | |
|
158 | 157 | for kind in sorted(state): |
|
159 | 158 | for node in state[kind]: |
|
160 | 159 | f.write("%s %s\n" % (kind, hex(node))) |
|
161 | 160 | f.close() |
|
162 | finally: | |
|
163 | wlock.release() | |
|
164 | 161 | |
|
165 | 162 | def get(repo, status): |
|
166 | 163 | """ |
General Comments 0
You need to be logged in to leave comments.
Login now