/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/config.py

Only chown() the .bzr.log when creating it, fixing NEWS entry to put it under 2.2b3

Show diffs side-by-side

added added

removed removed

Lines of Context:
519
519
 
520
520
    def _write_config_file(self):
521
521
        path = self._get_filename()
522
 
        f = osutils.open_with_ownership(path, 'wb')
 
522
        f = open(path, 'wb')
 
523
        osutils.copy_ownership_from_path(path)
523
524
        self._get_parser().write(f)
524
525
        f.close()
525
526
 
818
819
                trace.mutter('creating config parent directory: %r', parent_dir)
819
820
            os.mkdir(parent_dir)
820
821
        trace.mutter('creating config directory: %r', path)
821
 
        osutils.mkdir_with_ownership(path)
 
822
        os.mkdir(path)
 
823
        osutils.copy_ownership_from_path(path)
822
824
 
823
825
 
824
826
def config_dir():