Skip to content
Snippets Groups Projects
Commit 307b20e5 authored by Yuya Nishihara's avatar Yuya Nishihara
Browse files

formatter: add context manager interface for convenience

And port "hg files" to test it.

As you can see, extra indent is necessary to port to this API. I don't think
we should switch every fm.formatter() call to "with" statement.
parent 12f8bef5
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment