Patchwork [2,of,2] color: fix a documentation typo

login
register
mail settings
Submitter Matt Harbison
Date Dec. 16, 2018, 4:29 a.m.
Message ID <4e1802a4834c9bf0a04e.1544934585@Envy>
Download mbox | patch
Permalink /patch/37200/
State Accepted
Headers show

Comments

Matt Harbison - Dec. 16, 2018, 4:29 a.m.
# HG changeset patch
# User Matt Harbison <matt_harbison@yahoo.com>
# Date 1544933643 18000
#      Sat Dec 15 23:14:03 2018 -0500
# Node ID 4e1802a4834c9bf0a04eac3a981e503491016c3e
# Parent  0c1bac5efa4fe85778e5e6aa23380d9a7d73f57a
color: fix a documentation typo

Patch

diff --git a/mercurial/color.py b/mercurial/color.py
--- a/mercurial/color.py
+++ b/mercurial/color.py
@@ -245,7 +245,7 @@  def _modesetup(ui):
             # Since "ansi" could result in terminal gibberish, we error on the
             # side of selecting "win32". However, if w32effects is not defined,
             # we almost certainly don't support "win32", so don't even try.
-            # w32ffects is not populated when stdout is redirected, so checking
+            # w32effects is not populated when stdout is redirected, so checking
             # it first avoids win32 calls in a state known to error out.
             if ansienviron or not w32effects or win32.enablevtmode():
                 realmode = 'ansi'