##// END OF EJS Templates
merge: add removefile() to mergeresult object...
Pulkit Goyal -
r45840:f1fb9a07 default
parent child Browse files
Show More
@@ -576,6 +576,11 b' class mergeresult(object):'
576 """
576 """
577 self._actions[filename] = (action, data, message)
577 self._actions[filename] = (action, data, message)
578
578
579 def removefile(self, filename):
580 """ removes a file from the mergeresult object as the file might
581 not merging anymore """
582 del self._actions[filename]
583
579 @property
584 @property
580 def actions(self):
585 def actions(self):
581 return self._actions
586 return self._actions
@@ -1929,7 +1934,7 b' def update('
1929 b'prompt recreating',
1934 b'prompt recreating',
1930 )
1935 )
1931 else:
1936 else:
1932 del mresult.actions[f]
1937 mresult.removefile(f)
1933
1938
1934 # Convert to dictionary-of-lists format
1939 # Convert to dictionary-of-lists format
1935 actions = mresult.actionsdict
1940 actions = mresult.actionsdict
General Comments 0
You need to be logged in to leave comments. Login now