quark added inline comments.

INLINE COMMENTS

> localrepo.py:1243
>                                **pycompat.strkwargs(args))
>              if hook.hashook(repo.ui, 'pretxnclose-phase'):
>                  cl = repo.unfiltered().changelog

Since this hook is the only user of `tr.changes['phases']`. I'd suggest 
disabling calculating `tr.changes['phases']` if the hook does not exist.

REPOSITORY
  rHG Mercurial

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

To: joerg.sonnenberger, #hg-reviewers
Cc: quark, mercurial-devel
_______________________________________________
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel

Reply via email to