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