~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/branch.py

  • Committer: John Arbash Meinel
  • Date: 2005-07-11 21:34:11 UTC
  • mto: (1185.11.1)
  • mto: This revision was merged to the branch mainline in revision 1396.
  • Revision ID: john@arbash-meinel.com-20050711213411-e66967f569f16716
Fixed some encoding issues, added is_remote function for Transport objects.

Show diffs side-by-side

added added

removed removed

Lines of Context:
337
337
        # TODO: Try and do this with self._transport.put() instead
338
338
        sio = StringIO()
339
339
        pack_xml(Inventory(), sio)
340
 
        self.put_controlfile('inventory', sio)
 
340
        sio.seek(0)
 
341
        self.put_controlfile('inventory', sio, encode=False)
341
342
 
342
343
 
343
344
    def _check_format(self):