mercurial/dagparser.py
changeset 49292 d44e3c45f0e4
parent 48966 6000f5b25c9b
equal deleted inserted replaced
49291:44b26349127b 49292:d44e3c45f0e4
   226         elif c == b'+':
   226         elif c == b'+':
   227             # pytype: disable=wrong-arg-types
   227             # pytype: disable=wrong-arg-types
   228             c, digs = nextrun(nextch(), pycompat.bytestr(string.digits))
   228             c, digs = nextrun(nextch(), pycompat.bytestr(string.digits))
   229             # pytype: enable=wrong-arg-types
   229             # pytype: enable=wrong-arg-types
   230             n = int(digs)
   230             n = int(digs)
   231             for i in pycompat.xrange(0, n):
   231             for i in range(0, n):
   232                 yield b'n', (r, [p1])
   232                 yield b'n', (r, [p1])
   233                 p1 = r
   233                 p1 = r
   234                 r += 1
   234                 r += 1
   235         elif c in b'*/':
   235         elif c in b'*/':
   236             if c == b'*':
   236             if c == b'*':