Show More
@@ -200,6 +200,12 b' class mergestate(object):' | |||
|
200 | 200 | self._labels = None |
|
201 | 201 | |
|
202 | 202 | def reset(self): |
|
203 | shutil.rmtree(self._repo.vfs.join(b'merge'), True) | |
|
204 | ||
|
205 | def start(self, node, other, labels=None): | |
|
206 | self._local = node | |
|
207 | self._other = other | |
|
208 | self._labels = labels | |
|
203 | 209 | self._state = {} |
|
204 | 210 | self._stateextras = collections.defaultdict(dict) |
|
205 | 211 | for var in ('localctx', 'otherctx'): |
@@ -210,15 +216,9 b' class mergestate(object):' | |||
|
210 | 216 | self._mdstate = MERGE_DRIVER_STATE_SUCCESS |
|
211 | 217 | else: |
|
212 | 218 | self._mdstate = MERGE_DRIVER_STATE_UNMARKED |
|
213 | shutil.rmtree(self._repo.vfs.join(b'merge'), True) | |
|
214 | 219 | self._results = {} |
|
215 | 220 | self._dirty = False |
|
216 | 221 | |
|
217 | def start(self, node, other, labels=None): | |
|
218 | self._local = node | |
|
219 | self._other = other | |
|
220 | self._labels = labels | |
|
221 | ||
|
222 | 222 | def _read(self): |
|
223 | 223 | """Analyse each record content to restore a serialized state from disk |
|
224 | 224 |
General Comments 0
You need to be logged in to leave comments.
Login now