tests/test-remotefilelog-datapack.py
changeset 51686 493034cc3265
parent 49284 d44e3c45f0e4
child 51696 7f0cb9ee0534
equal deleted inserted replaced
51685:39e2b2d062c1 51686:493034cc3265
   184         for i in range(100):
   184         for i in range(100):
   185             filename = b'%d.txt' % i
   185             filename = b'%d.txt' % i
   186             content = b'put-something-here \n' * i
   186             content = b'put-something-here \n' * i
   187             node = self.getHash(content)
   187             node = self.getHash(content)
   188             meta = {
   188             meta = {
   189                 constants.METAKEYFLAG: i ** 4,
   189                 constants.METAKEYFLAG: i**4,
   190                 constants.METAKEYSIZE: len(content),
   190                 constants.METAKEYSIZE: len(content),
   191                 b'Z': b'random_string',
   191                 b'Z': b'random_string',
   192                 b'_': b'\0' * i,
   192                 b'_': b'\0' * i,
   193             }
   193             }
   194             revisions.append(
   194             revisions.append(