diff hgext/narrow/__init__.py @ 39966:707c3804e607

narrow: move copies overrides to core The copies overrides seems to have been a little complicated just by not being in core. When moved to core, it becomes trivial (at least I think these overrides have the same effect). Differential Revision: https://phab.mercurial-scm.org/D4825
author Martin von Zweigbergk <martinvonz@google.com>
date Fri, 28 Sep 2018 12:56:57 -0700
parents 75452c1e68f6
children e92454e69dc3
line wrap: on
line diff
--- a/hgext/narrow/__init__.py	Sun Sep 30 18:45:16 2018 +0300
+++ b/hgext/narrow/__init__.py	Fri Sep 28 12:56:57 2018 -0700
@@ -23,7 +23,6 @@
 from . import (
     narrowbundle2,
     narrowcommands,
-    narrowcopies,
     narrowrepo,
     narrowtemplates,
     narrowwirepeer,
@@ -65,7 +64,6 @@
 
     if repository.NARROW_REQUIREMENT in repo.requirements:
         narrowrepo.wraprepo(repo)
-        narrowcopies.setup(repo)
         narrowwirepeer.reposetup(repo)
 
 templatekeyword = narrowtemplates.templatekeyword