D472: extensions: make wrapfunction() return a context manager

lothiraldan (Boris Feld) phabricator at mercurial-scm.org
Wed Aug 23 11:55:03 EDT 2017


lothiraldan added a comment.


  Maybe instead of replacing wrapfunction with a context manager, what about introducing it with a separate name? All users of wrapfunction will need to be updated anyway to use the context manager style

REPOSITORY
  rHG Mercurial

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

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


More information about the Mercurial-devel mailing list