Show More
@@ -1034,15 +1034,15 b' def processreplacement(state):' | |||
|
1034 | 1034 | allsuccs = set() |
|
1035 | 1035 | replaced = set() |
|
1036 | 1036 | fullmapping = {} |
|
1037 |
# initiali |
|
|
1038 | # fullmapping record all operations recorded in replacement | |
|
1037 | # initialize basic set | |
|
1038 | # fullmapping records all operations recorded in replacement | |
|
1039 | 1039 | for rep in replacements: |
|
1040 | 1040 | allsuccs.update(rep[1]) |
|
1041 | 1041 | replaced.add(rep[0]) |
|
1042 | 1042 | fullmapping.setdefault(rep[0], set()).update(rep[1]) |
|
1043 | 1043 | new = allsuccs - replaced |
|
1044 | 1044 | tmpnodes = allsuccs & replaced |
|
1045 |
# Reduce content fullmapping |
|
|
1045 | # Reduce content fullmapping into direct relation between original nodes | |
|
1046 | 1046 | # and final node created during history edition |
|
1047 | 1047 | # Dropped changeset are replaced by an empty list |
|
1048 | 1048 | toproceed = set(fullmapping) |
General Comments 0
You need to be logged in to leave comments.
Login now