Re: [PATCH] templater: handle division by zero in arithmetic

2016-10-21 Thread timeless
Should we have a test for this? ___ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel

Re: [PATCH] templater: handle division by zero in arithmetic

2016-10-09 Thread Yuya Nishihara
On Sun, 9 Oct 2016 08:11:07 -0700, Simon Farnsworth wrote: > # HG changeset patch > # User Simon Farnsworth > # Date 1476025760 25200 > # Sun Oct 09 08:09:20 2016 -0700 > # Node ID ad830281f2cd1a6fd2249813a8a1ceddf3d0d2e8 > # Parent 8e42dfde93d10e099040e9b57c70b7774235d883 > templater: handl

[PATCH] templater: handle division by zero in arithmetic

2016-10-09 Thread Simon Farnsworth
# HG changeset patch # User Simon Farnsworth # Date 1476025760 25200 # Sun Oct 09 08:09:20 2016 -0700 # Node ID ad830281f2cd1a6fd2249813a8a1ceddf3d0d2e8 # Parent 8e42dfde93d10e099040e9b57c70b7774235d883 templater: handle division by zero in arithmetic For now, just turn it to an abort. dif