[PATCH 02 of 10] localrepo: bytes for errors

Jun Wu quark at fb.com
Fri May 13 10:18:06 EDT 2016


On 05/13/2016 04:48 AM, Gregory Szorc wrote:
> In theory, we might be able to implement a custom module loader on Python 3
> that does source/ast translation when loading .py files. But this scares me
> for several reasons.

I realized the "module loader" may include the "# coding: " hack.
Could you explain the reasons?

I guess the reason we don't want massive codemod is because we want to maintain 
blame information. If that's the concern, the blame-skip-revset
idea may be another possible solution.


More information about the Mercurial-devel mailing list