Patchwork D9934: nodemap: fix a typo in error message

login
register
mail settings
Submitter phabricator
Date Jan. 31, 2021, 7:35 p.m.
Message ID <differential-rev-PHID-DREV-5dzsudkembrmpiadfxzo-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/48243/
State Superseded
Headers show

Comments

phabricator - Jan. 31, 2021, 7:35 p.m.
pulkit 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/D9934

AFFECTED FILES
  mercurial/revlogutils/nodemap.py

CHANGE DETAILS




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

Patch

diff --git a/mercurial/revlogutils/nodemap.py b/mercurial/revlogutils/nodemap.py
--- a/mercurial/revlogutils/nodemap.py
+++ b/mercurial/revlogutils/nodemap.py
@@ -135,7 +135,7 @@ 
             "cannot persist nodemap of a filtered changelog"
         )
     if revlog.nodemap_file is None:
-        msg = "calling persist nodemap on a revlog without the feature enableb"
+        msg = "calling persist nodemap on a revlog without the feature enabled"
         raise error.ProgrammingError(msg)
 
     can_incremental = util.safehasattr(revlog.index, "nodemap_data_incremental")