~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/__init__.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2006-09-06 16:21:16 UTC
  • mfrom: (1955.3.30 transport_bytes)
  • Revision ID: pqm@pqm.ubuntu.com-20060906162116-90b02cf97bcc11e8
(jam) create Transport.*_{file,bytes}

Show diffs side-by-side

added added

removed removed

Lines of Context:
1102
1102
                # On jam's machine, make_kernel_like_tree is:
1103
1103
                #   put:    4.5-7.5s (averaging 6s)
1104
1104
                #   append: 2.9-4.5s
1105
 
                transport.append(urlutils.escape(name), StringIO(content))
 
1105
                #   put_non_atomic: 2.9-4.5s
 
1106
                transport.put_bytes_non_atomic(urlutils.escape(name), content)
1106
1107
 
1107
1108
    def build_tree_contents(self, shape):
1108
1109
        build_tree_contents(shape)