[PATCH] transplant: use absolute_import

Gregory Szorc gregory.szorc at gmail.com
Wed Mar 2 15:36:43 EST 2016



> On Mar 2, 2016, at 10:44, timeless <timeless at gmail.com> wrote:
> 
> timeless wrote:
>> -                node = revmap[rev]
>> -                revstr = '%s:%s' % (rev, short(node))
>> +                old = revmap[rev]
> 
> I renamed variables to avoid conflicting with `node`, I could instead
> import node as nodemod. I'm open to suggestions.

We allow importing symbols directly from mercurial.node and mercurial.i18n. Why not do this?


More information about the Mercurial-devel mailing list