D421: hg: move part of top-level logic to dispatch.run

yuja (Yuya Nishihara) phabricator at mercurial-scm.org
Thu Aug 17 08:41:35 EDT 2017


yuja requested changes to this revision.
yuja added inline comments.
This revision now requires changes to proceed.

INLINE COMMENTS

> hg:30
>  try:
> -    if sys.version_info[0] < 3 or sys.version_info >= (3, 6):
> -        import hgdemandimport; hgdemandimport.enable()
> +    import mercurial.dispatch
>  except ImportError:

This makes the import of `dispatch` non-lazy, right?

REPOSITORY
  rHG Mercurial

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

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


More information about the Mercurial-devel mailing list