Mercurial > public > mercurial-scm > hg-stable
comparison tests/artifacts/scripts/generate-churning-bundle.py @ 41356:56a0de3d581c
tests: drop a duplicate definition of a constant
Differential Revision: https://phab.mercurial-scm.org/D5663
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Wed, 16 Jan 2019 17:04:50 -0800 |
parents | 4ca7a67c94c8 |
children | 5f198b690301 |
comparison
equal
deleted
inserted
replaced
41355:d5c58d679ed9 | 41356:56a0de3d581c |
---|---|
40 # At each revision, the beginning on the file change, | 40 # At each revision, the beginning on the file change, |
41 # and set of other lines changes too. | 41 # and set of other lines changes too. |
42 FILENAME='SPARSE-REVLOG-TEST-FILE' | 42 FILENAME='SPARSE-REVLOG-TEST-FILE' |
43 NB_LINES = 10500 | 43 NB_LINES = 10500 |
44 ALWAYS_CHANGE_LINES = 500 | 44 ALWAYS_CHANGE_LINES = 500 |
45 FILENAME = 'SPARSE-REVLOG-TEST-FILE' | |
46 OTHER_CHANGES = 300 | 45 OTHER_CHANGES = 300 |
47 | 46 |
48 def nextcontent(previous_content): | 47 def nextcontent(previous_content): |
49 """utility to produce a new file content from the previous one""" | 48 """utility to produce a new file content from the previous one""" |
50 return hashlib.md5(previous_content).hexdigest() | 49 return hashlib.md5(previous_content).hexdigest() |