##// END OF EJS Templates
mergestate: fix BC breakage introduced because of removal of a merge record...
Pulkit Goyal -
r45859:7fc3c5fb 5.5 stable
parent child Browse files
Show More
@@ -96,6 +96,12 b" MERGE_DRIVER_STATE_UNMARKED = b'u'"
96 MERGE_DRIVER_STATE_MARKED = b'm'
96 MERGE_DRIVER_STATE_MARKED = b'm'
97 MERGE_DRIVER_STATE_SUCCESS = b's'
97 MERGE_DRIVER_STATE_SUCCESS = b's'
98
98
99 #####
100 # legacy records which are no longer used but kept to prevent breaking BC
101 #####
102 # This record was release in 5.4 and usage was removed in 5.5
103 LEGACY_RECORD_RESOLVED_OTHER = b'R'
104
99
105
100 ACTION_FORGET = b'f'
106 ACTION_FORGET = b'f'
101 ACTION_REMOVE = b'r'
107 ACTION_REMOVE = b'r'
@@ -249,6 +255,7 b' class mergestate(object):'
249 RECORD_CHANGEDELETE_CONFLICT,
255 RECORD_CHANGEDELETE_CONFLICT,
250 RECORD_PATH_CONFLICT,
256 RECORD_PATH_CONFLICT,
251 RECORD_MERGE_DRIVER_MERGE,
257 RECORD_MERGE_DRIVER_MERGE,
258 LEGACY_RECORD_RESOLVED_OTHER,
252 ):
259 ):
253 bits = record.split(b'\0')
260 bits = record.split(b'\0')
254 self._state[bits[0]] = bits[1:]
261 self._state[bits[0]] = bits[1:]
General Comments 0
You need to be logged in to leave comments. Login now