~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to tools/weavebench.py

  • Committer: aaron.bentley at utoronto
  • Date: 2005-08-20 01:56:53 UTC
  • mto: (1092.1.41) (1185.3.4) (974.1.47)
  • mto: This revision was merged to the branch mainline in revision 1110.
  • Revision ID: aaron.bentley@utoronto.ca-20050820015653-8da4baa8ca6b04a9
factored install_revisions out of update_revisions, updated test cases for greedy_fetch

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("%s" % i, parents, lines)
 
54
        rev_id = wf.add(parents, lines)
55
55
        parents = [rev_id]
56
56
 
57
57
    write_weave(wf, file(WEAVE_NAME, 'wb'))