This is an archive of the discontinued Mercurial Phabricator instance.

util: remove unused ctxmanager
ClosedPublic

Authored by martinvonz on Jul 13 2017, 1:12 PM.

Details

Summary

This was meant as a substitute for Python's "with" with multiple
context managers before we moved to Python 2.7. We're now on 2.7, so
we should have no reason to keep ctxmanager. "hg grep --all
ctxmanager" says that it was never used anyway.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

martinvonz created this revision.Jul 13 2017, 1:12 PM
phillco accepted this revision.Jul 13 2017, 2:00 PM
durham accepted this revision.Jul 13 2017, 3:48 PM
durin42 accepted this revision.Jul 14 2017, 11:50 AM
This revision is now accepted and ready to land.Jul 14 2017, 11:50 AM
This revision was automatically updated to reflect the committed changes.
mercurial/util.py