Patchwork D6758: narrow: fix typo "respositories"

login
register
mail settings
Submitter phabricator
Date Aug. 23, 2019, 11:31 p.m.
Message ID <ac9e2b4fec01b837c0974db01a6fa7e4@localhost.localdomain>
Download mbox | patch
Permalink /patch/41395/
State Not Applicable
Headers show

Comments

phabricator - Aug. 23, 2019, 11:31 p.m.
Closed by commit rHG383fdfa6bba9: narrow: fix typo &quot;respositories&quot; (authored by martinvonz).
This revision was automatically updated to reflect the committed changes.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D6758?vs=16297&id=16304

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D6758/new/

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

AFFECTED FILES
  hgext/narrow/narrowcommands.py
  tests/test-narrow-trackedcmd.t

CHANGE DETAILS




To: martinvonz, durin42, #hg-reviewers, pulkit
Cc: mercurial-devel

Patch

diff --git a/tests/test-narrow-trackedcmd.t b/tests/test-narrow-trackedcmd.t
--- a/tests/test-narrow-trackedcmd.t
+++ b/tests/test-narrow-trackedcmd.t
@@ -220,5 +220,5 @@ 
   $ hg init non-narrow
   $ cd non-narrow
   $ hg tracked --addinclude foobar
-  abort: the tracked command is only supported on respositories cloned with --narrow
+  abort: the tracked command is only supported on repositories cloned with --narrow
   [255]
diff --git a/hgext/narrow/narrowcommands.py b/hgext/narrow/narrowcommands.py
--- a/hgext/narrow/narrowcommands.py
+++ b/hgext/narrow/narrowcommands.py
@@ -368,7 +368,7 @@ 
     opts = pycompat.byteskwargs(opts)
     if repository.NARROW_REQUIREMENT not in repo.requirements:
         raise error.Abort(_('the tracked command is only supported on '
-                            'respositories cloned with --narrow'))
+                            'repositories cloned with --narrow'))
 
     # Before supporting, decide whether it "hg tracked --clear" should mean
     # tracking no paths or all paths.