Show More
@@ -1367,8 +1367,7 b' def applyupdates(' | |||
|
1367 | 1367 | for f, op in pycompat.iteritems(mresult.commitinfo): |
|
1368 | 1368 | # the other side of filenode was choosen while merging, store this in |
|
1369 | 1369 | # mergestate so that it can be reused on commit |
|
1370 | if op[b'filenode-source'] == b'other': | |
|
1371 | ms.addmergedother(f) | |
|
1370 | ms.addcommitinfo(f, op) | |
|
1372 | 1371 | |
|
1373 | 1372 | moves = [] |
|
1374 | 1373 |
@@ -592,8 +592,10 b' class mergestate(object):' | |||
|
592 | 592 | self._state[path] = [MERGE_RECORD_UNRESOLVED_PATH, frename, forigin] |
|
593 | 593 | self._dirty = True |
|
594 | 594 | |
|
595 |
def add |
|
|
596 | self._stateextras[path] = {b'filenode-source': b'other'} | |
|
595 | def addcommitinfo(self, path, data): | |
|
596 | """ stores information which is required at commit | |
|
597 | into _stateextras """ | |
|
598 | self._stateextras[path].update(data) | |
|
597 | 599 | self._dirty = True |
|
598 | 600 | |
|
599 | 601 | def __contains__(self, dfile): |
General Comments 0
You need to be logged in to leave comments.
Login now