tests/test-remotefilelog-histpack.py
changeset 40749 ba706e3082bd
parent 40734 5d1550b9a533
child 41268 878084a495ef
equal deleted inserted replaced
40748:df8ed31a8ad8 40749:ba706e3082bd
   249     def testLargePack(self):
   249     def testLargePack(self):
   250         """Test creating and reading from a large pack with over X entries.
   250         """Test creating and reading from a large pack with over X entries.
   251         This causes it to use a 2^16 fanout table instead."""
   251         This causes it to use a 2^16 fanout table instead."""
   252         total = basepack.SMALLFANOUTCUTOFF + 1
   252         total = basepack.SMALLFANOUTCUTOFF + 1
   253         revisions = []
   253         revisions = []
   254         for i in xrange(total):
   254         for i in pycompat.xrange(total):
   255             filename = b"foo-%d" % i
   255             filename = b"foo-%d" % i
   256             node = self.getFakeHash()
   256             node = self.getFakeHash()
   257             p1 = self.getFakeHash()
   257             p1 = self.getFakeHash()
   258             p2 = self.getFakeHash()
   258             p2 = self.getFakeHash()
   259             linknode = self.getFakeHash()
   259             linknode = self.getFakeHash()