mercurial/dispatch.py
changeset 37717 0664be4f0c1f
parent 37716 dfc51a482031
child 37944 dc1ed7fe33e4
--- a/mercurial/dispatch.py	Sat Apr 14 09:23:48 2018 -0700
+++ b/mercurial/dispatch.py	Sat Apr 14 09:57:44 2018 -0700
@@ -928,7 +928,8 @@
             else:
                 try:
                     repo = hg.repository(ui, path=path,
-                                         presetupfuncs=req.prereposetups)
+                                         presetupfuncs=req.prereposetups,
+                                         intents=func.intents)
                     if not repo.local():
                         raise error.Abort(_("repository '%s' is not local")
                                           % path)