narrow: remove narrowpatch instead of narrowcopies
authorPulkit Goyal <pulkit@yandex-team.ru>
Tue, 02 Oct 2018 14:29:56 +0300
changeset 39952 75452c1e68f6
parent 39951 a339b5e0d7c6
child 39953 a3a9b93bff80
narrow: remove narrowpatch instead of narrowcopies 84092edd5c88 removed narrowpatch.py and wanted to drop narrowpatch from __init__.py but mistakenly removed narrowcopies. This will make buildbots green again. Differential Revision: https://phab.mercurial-scm.org/D4837
hgext/narrow/__init__.py
--- a/hgext/narrow/__init__.py	Mon Oct 01 23:26:24 2018 -0400
+++ b/hgext/narrow/__init__.py	Tue Oct 02 14:29:56 2018 +0300
@@ -23,7 +23,7 @@
 from . import (
     narrowbundle2,
     narrowcommands,
-    narrowpatch,
+    narrowcopies,
     narrowrepo,
     narrowtemplates,
     narrowwirepeer,
@@ -65,7 +65,7 @@
 
     if repository.NARROW_REQUIREMENT in repo.requirements:
         narrowrepo.wraprepo(repo)
-        narrowpatch.setup(repo)
+        narrowcopies.setup(repo)
         narrowwirepeer.reposetup(repo)
 
 templatekeyword = narrowtemplates.templatekeyword