martinvonz added inline comments.

INLINE COMMENTS

> __init__.py:89
>  def _makestore(orig, requirements, storebasepath, vfstype):
> -    # Check for presence of pygit2 only here. The assumption is that we'll
> -    # run this code iff we'll later need pygit2.
> -    if gitutil.get_pygit2() is None:
> -        raise error.Abort(
> -            _(
> -                b'the git extension requires the Python '
> -                b'pygit2 library to be installed'
> +    reqsf = os.path.join(storebasepath, b'requirements')
> +    reqs = set()

Why not use `.hg/requires`?

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D8265/new/

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

To: durin42, #hg-reviewers
Cc: martinvonz, mharbison72, mercurial-devel
_______________________________________________
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel

Reply via email to