narrow: fix typo "respositories"
authorMartin von Zweigbergk <martinvonz@google.com>
Thu, 22 Aug 2019 16:47:31 -0700
changeset 42807 383fdfa6bba9
parent 42806 50e25f30da9c
child 42813 268662aac075
narrow: fix typo "respositories" Differential Revision: https://phab.mercurial-scm.org/D6758
hgext/narrow/narrowcommands.py
tests/test-narrow-trackedcmd.t
--- a/hgext/narrow/narrowcommands.py	Fri Aug 23 17:03:42 2019 -0400
+++ b/hgext/narrow/narrowcommands.py	Thu Aug 22 16:47:31 2019 -0700
@@ -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.
--- a/tests/test-narrow-trackedcmd.t	Fri Aug 23 17:03:42 2019 -0400
+++ b/tests/test-narrow-trackedcmd.t	Thu Aug 22 16:47:31 2019 -0700
@@ -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]