Mercurial > hg-stable
changeset 26039:84dcc37b1272
histedit: correct spelling etc in more comments
Spotted during review of another patch.
author | Augie Fackler <augie@google.com> |
---|---|
date | Mon, 17 Aug 2015 22:56:12 -0400 |
parents | 7617bc7b0c97 |
children | 8da628be211b |
files | hgext/histedit.py |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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)