histedit: correct spelling etc in more comments
authorAugie Fackler <augie@google.com>
Mon, 17 Aug 2015 22:56:12 -0400
changeset 26039 84dcc37b1272
parent 26038 7617bc7b0c97
child 26041 8da628be211b
histedit: correct spelling etc in more comments Spotted during review of another patch.
hgext/histedit.py
--- a/hgext/histedit.py	Fri Jul 31 12:54:16 2015 -0700
+++ b/hgext/histedit.py	Mon Aug 17 22:56:12 2015 -0400
@@ -1034,15 +1034,15 @@
     allsuccs = set()
     replaced = set()
     fullmapping = {}
-    # initialise basic set
-    # fullmapping record all operations recorded in replacement
+    # initialize basic set
+    # fullmapping records all operations recorded in replacement
     for rep in replacements:
         allsuccs.update(rep[1])
         replaced.add(rep[0])
         fullmapping.setdefault(rep[0], set()).update(rep[1])
     new = allsuccs - replaced
     tmpnodes = allsuccs & replaced
-    # Reduce content fullmapping  into direct relation between original nodes
+    # Reduce content fullmapping into direct relation between original nodes
     # and final node created during history edition
     # Dropped changeset are replaced by an empty list
     toproceed = set(fullmapping)