diff -r dfc51a482031 -r 0664be4f0c1f mercurial/dispatch.py --- 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)