Patchwork histedit: add a missing "s" in a comment

login
register
mail settings
Submitter Pierre-Yves David
Date Aug. 17, 2015, 9:25 p.m.
Message ID <83c304142b9da3ef2e6f.1439846713@marginatus.alto.octopoid.net>
Download mbox | patch
Permalink /patch/10221/
State Accepted
Headers show

Comments

Pierre-Yves David - Aug. 17, 2015, 9:25 p.m.
# HG changeset patch
# User Pierre-Yves David <pierre-yves.david@fb.com>
# Date 1438372456 25200
#      Fri Jul 31 12:54:16 2015 -0700
# Node ID 83c304142b9da3ef2e6f8c1f1fabe97b5b836f26
# Parent  9e7d805925c87cfa0ca30819e8273ac37fd77a62
histedit: add a missing "s" in a comment
Augie Fackler - Aug. 18, 2015, 2:56 a.m.
On Mon, Aug 17, 2015 at 02:25:13PM -0700, Pierre-Yves David wrote:
> # HG changeset patch
> # User Pierre-Yves David <pierre-yves.david@fb.com>
> # Date 1438372456 25200
> #      Fri Jul 31 12:54:16 2015 -0700
> # Node ID 83c304142b9da3ef2e6f8c1f1fabe97b5b836f26
> # Parent  9e7d805925c87cfa0ca30819e8273ac37fd77a62
> histedit: add a missing "s" in a comment

Queued this along with a followup for more stuff I just
spotted. Thanks!

>
> diff --git a/hgext/histedit.py b/hgext/histedit.py
> --- a/hgext/histedit.py
> +++ b/hgext/histedit.py
> @@ -1033,11 +1033,11 @@ def processreplacement(state):
>      replacements = state.replacements
>      allsuccs = set()
>      replaced = set()
>      fullmapping = {}
>      # initialise basic set
> -    # fullmapping record all operation recorded in replacement
> +    # fullmapping record 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
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel@selenic.com
> https://selenic.com/mailman/listinfo/mercurial-devel

Patch

diff --git a/hgext/histedit.py b/hgext/histedit.py
--- a/hgext/histedit.py
+++ b/hgext/histedit.py
@@ -1033,11 +1033,11 @@  def processreplacement(state):
     replacements = state.replacements
     allsuccs = set()
     replaced = set()
     fullmapping = {}
     # initialise basic set
-    # fullmapping record all operation recorded in replacement
+    # fullmapping record 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