Mercurial > hg
comparison tests/test-remotefilelog-datapack.py @ 51700:7f0cb9ee0534
Backout accidental publication of a large range of revisions
I accidentally published 25e7f9dcad0f::bd1483fd7088, this is the inverse.
author | Raphaël Gomès <rgomes@octobus.net> |
---|---|
date | Tue, 23 Jul 2024 10:02:46 +0200 |
parents | 493034cc3265 |
children | ca7bde5dbafb |
comparison
equal
deleted
inserted
replaced
51699:bd1483fd7088 | 51700:7f0cb9ee0534 |
---|---|
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( |