D990: dispatch: when --pager=no is passed, also disable pager on req.repo.ui

lothiraldan (Boris Feld) phabricator at mercurial-scm.org
Tue Oct 10 03:07:05 EDT 2017


lothiraldan added inline comments.

INLINE COMMENTS

> dispatch.py:869
> +            if req.repo is not None:
> +                req.repo.ui.disablepager()
>  

Why not using the `uis` set to iterate like for other options above? `repo.repo.ui` is already added to the set at line 771

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D990

To: quark, #hg-reviewers
Cc: lothiraldan, mercurial-devel


More information about the Mercurial-devel mailing list