mercurial/revsetlang.py
changeset 31565 553ad16b274f
parent 31441 80c8a6db450d
child 31603 fbe8502c4480
equal deleted inserted replaced
31564:102f291807c9 31565:553ad16b274f
   627         if l == 0:
   627         if l == 0:
   628             return "_list('')"
   628             return "_list('')"
   629         elif l == 1:
   629         elif l == 1:
   630             return argtype(t, s[0])
   630             return argtype(t, s[0])
   631         elif t == 'd':
   631         elif t == 'd':
   632             return "_intlist('%s')" % "\0".join(str(int(a)) for a in s)
   632             return "_intlist('%s')" % "\0".join('%d' % int(a) for a in s)
   633         elif t == 's':
   633         elif t == 's':
   634             return "_list('%s')" % "\0".join(s)
   634             return "_list('%s')" % "\0".join(s)
   635         elif t == 'n':
   635         elif t == 'n':
   636             return "_hexlist('%s')" % "\0".join(node.hex(a) for a in s)
   636             return "_hexlist('%s')" % "\0".join(node.hex(a) for a in s)
   637         elif t == 'b':
   637         elif t == 'b':