Patchwork D9366: helptext: fix sentence in extensions documentation

login
register
mail settings
Submitter phabricator
Date Nov. 22, 2020, 8:08 p.m.
Message ID <differential-rev-PHID-DREV-hhvgmdayva3mqr7u33pf-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/47645/
State Superseded
Headers show

Comments

phabricator - Nov. 22, 2020, 8:08 p.m.
mharbison72 created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.

REPOSITORY
  rHG Mercurial

BRANCH
  default

REVISION DETAIL
  https://phab.mercurial-scm.org/D9366

AFFECTED FILES
  mercurial/helptext/internals/extensions.txt

CHANGE DETAILS




To: mharbison72, #hg-reviewers
Cc: mercurial-patches, mercurial-devel

Patch

diff --git a/mercurial/helptext/internals/extensions.txt b/mercurial/helptext/internals/extensions.txt
--- a/mercurial/helptext/internals/extensions.txt
+++ b/mercurial/helptext/internals/extensions.txt
@@ -175,7 +175,7 @@ 
 
 Be aware that ``uisetup`` in NOT the function to configure a ``ui`` instance.
 It's called only once per process, not per ``ui`` instance. Also, any changes
-to the ``ui`` may be discarded because the ``ui`` here temporarily loaded
+to the ``ui`` may be discarded because the ``ui`` here is a temporarily loaded
 local configuration. So, it's generally wrong to do `ui.setconfig()` in
 these callbacks. Notable exception is setting ``pre/post-<command>`` hooks
 and extending ``ui.__class__``.