/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 bzrlib/tests/workingtree_implementations/test_commit.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:
114
114
        except errors.UpgradeRequired:
115
115
            # older format.
116
116
            return
117
 
        master.bzrdir.transport.put('branch-format', StringIO('garbage'))
 
117
        master.bzrdir.transport.put_bytes('branch-format', 'garbage')
118
118
        del master
119
119
        # check its corrupted.
120
120
        self.assertRaises(errors.UnknownFormatError,