equal
deleted
inserted
replaced
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() |