##// END OF EJS Templates
tests: use range() in generate-churning-module.py...
Gregory Szorc -
r43380:1fcf79e9 default
parent child Browse files
Show More
@@ -62,7 +62,7 b' def filecontent(iteridx, oldcontent):'
62 62 else:
63 63 current = str(iteridx)
64 64
65 for idx in xrange(NB_LINES):
65 for idx in range(NB_LINES):
66 66 do_change_line = True
67 67 if oldcontent is not None and ALWAYS_CHANGE_LINES < idx:
68 68 do_change_line = not ((idx - iteridx) % OTHER_CHANGES)
@@ -113,7 +113,7 b' def run(target):'
113 113 hg('init')
114 114 updatefile(FILENAME, None)
115 115 hg('commit', '--addremove', '--message', 'initial commit')
116 for idx in xrange(1, NB_CHANGESET + 1):
116 for idx in range(1, NB_CHANGESET + 1):
117 117 if sys.stdout.isatty():
118 118 print("generating commit #%d/%d" % (idx, NB_CHANGESET))
119 119 if (idx % PERIOD_BRANCHING) == 0:
General Comments 0
You need to be logged in to leave comments. Login now