comparison hgext/histedit.py @ 26038:7617bc7b0c97

histedit: add a missing "s" in a comment
author Pierre-Yves David <pierre-yves.david@fb.com>
date Fri, 31 Jul 2015 12:54:16 -0700
parents b4a85ddadcb9
children 84dcc37b1272
comparison
equal deleted inserted replaced
26037:a75d24539aba 26038:7617bc7b0c97
1033 replacements = state.replacements 1033 replacements = state.replacements
1034 allsuccs = set() 1034 allsuccs = set()
1035 replaced = set() 1035 replaced = set()
1036 fullmapping = {} 1036 fullmapping = {}
1037 # initialise basic set 1037 # initialise basic set
1038 # fullmapping record all operation recorded in replacement 1038 # fullmapping record 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