equal
deleted
inserted
replaced
257 return self._state.keys() |
257 return self._state.keys() |
258 |
258 |
259 def mark(self, dfile, state): |
259 def mark(self, dfile, state): |
260 self._state[dfile][0] = state |
260 self._state[dfile][0] = state |
261 self._dirty = True |
261 self._dirty = True |
|
262 |
|
263 def unresolved(self): |
|
264 """Obtain the paths of unresolved files.""" |
|
265 |
|
266 for f, entry in self._state.items(): |
|
267 if entry[0] == 'u': |
|
268 yield f |
262 |
269 |
263 def resolve(self, dfile, wctx): |
270 def resolve(self, dfile, wctx): |
264 """rerun merge process for file path `dfile`""" |
271 """rerun merge process for file path `dfile`""" |
265 if self[dfile] == 'r': |
272 if self[dfile] == 'r': |
266 return 0 |
273 return 0 |