Re: [PATCH 08 of 11] py3: pass ctx.rev() instead of ctx in range()

2018-02-23 Thread Yuya Nishihara
On Fri, 23 Feb 2018 18:54:53 -0800, Gregory Szorc wrote: > Speaking of __int__, it is only defined in one place in the repo: on > context.basectx. I think we should consider removing it: it is too much > coercion magic for my liking. +1 for removing int(ctx) and '%d' % ctx. Actually it doesn't alw

Re: [PATCH 08 of 11] py3: pass ctx.rev() instead of ctx in range()

2018-02-23 Thread Gregory Szorc
On Fri, Feb 23, 2018 at 10:15 AM, Pulkit Goyal <7895pul...@gmail.com> wrote: > # HG changeset patch > # User Pulkit Goyal <7895pul...@gmail.com> > # Date 1519389273 -19800 > # Fri Feb 23 18:04:33 2018 +0530 > # Node ID a2b469c5995b4c2602f1bb1c3959d67ee9c08141 > # Parent 457aea9470d03f8e69c87