~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/workingtree.py

Deprecate LockableFiles.put_utf8

Show diffs side-by-side

added added

removed removed

Lines of Context:
2891
2891
        control_files = self._open_control_files(a_bzrdir)
2892
2892
        control_files.create_lock()
2893
2893
        control_files.lock_write()
2894
 
        control_files.put_utf8('format', self.get_format_string())
 
2894
        transport.put_bytes('format', self.get_format_string(),
 
2895
            mode=control_files._file_mode)
2895
2896
        if from_branch is not None:
2896
2897
            branch = from_branch
2897
2898
        else: