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.
Loading
Please register or sign in to comment