/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to tools/weavebench.py

  • Committer: John Arbash Meinel
  • Date: 2006-07-24 20:13:57 UTC
  • mto: This revision was merged to the branch mainline in revision 1885.
  • Revision ID: john@arbash-meinel.com-20060724201357-c16e5a568f15a960
Switching to have 'read_records_iter' return in random order.

Show diffs side-by-side

added added

removed removed

Lines of Context:
51
51
            if lines:
52
52
                del lines[randrange(0, len(lines))]
53
53
 
54
 
        rev_id = wf.add(parents, lines)
 
54
        rev_id = wf.add("%s" % i, parents, lines)
55
55
        parents = [rev_id]
56
56
 
57
57
    write_weave(wf, file(WEAVE_NAME, 'wb'))