# HG changeset patch # User Augie Fackler # Date 1490279600 14400 # Node ID fbe8502c4480b83b5bc1ddc72c83e2dc0230617e # Parent 772878ac930ef97ed794de23535153a35275484c revsetlang: portably bytestring-ify another pair of int() calls diff -r 772878ac930e -r fbe8502c4480 mercurial/revsetlang.py --- a/mercurial/revsetlang.py Thu Mar 23 21:23:21 2017 -0700 +++ b/mercurial/revsetlang.py Thu Mar 23 10:33:20 2017 -0400 @@ -611,7 +611,7 @@ def argtype(c, arg): if c == 'd': - return str(int(arg)) + return '%d' % int(arg) elif c == 's': return quote(arg) elif c == 'r':