mercurial/localrepo.py
changeset 39786 7aa440222323
parent 39781 3e801ffd7269
child 39851 d3e761f9ac0a
--- a/mercurial/localrepo.py	Thu Sep 13 15:52:42 2018 -0700
+++ b/mercurial/localrepo.py	Thu Sep 13 15:57:18 2018 -0700
@@ -727,6 +727,9 @@
         if r.startswith(b'exp-compression-'):
             options[b'compengine'] = r[len(b'exp-compression-'):]
 
+    if repository.NARROW_REQUIREMENT in requirements:
+        options[b'enableellipsis'] = True
+
     return options
 
 def makemain(**kwargs):