~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to tools/weavebench.py

  • Committer: Erik Bågfors
  • Date: 2006-02-03 19:50:59 UTC
  • mto: (1185.50.77 bzr-jam-integration)
  • mto: This revision was merged to the branch mainline in revision 1554.
  • Revision ID: erik@bagfors.nu-20060203195059-1cf8ff5aa68de0ea
Support for plugins to register log formatters and set default formatter
Also, change one command line option for "log"

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'))