mercurial/merge.py
changeset 21266 19d6fec60b81
parent 21264 4e932dc5c113
child 21268 a0b8a912ec81
equal deleted inserted replaced
21265:232de244ab6f 21266:19d6fec60b81
   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