/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

renamed copy_ownership to copy_ownership_from_path.
updated .bzr.log to have 0644 permissions.
improved docstring for create_log_file

Show diffs side-by-side

added added

removed removed

Lines of Context:
512
512
    def _write_config_file(self):
513
513
        path = self._get_filename()
514
514
        f = open(path, 'wb')
515
 
        osutils.copy_ownership(path) # Copy ownership from parent dir
 
515
        osutils.copy_ownership_from_path(path)
516
516
        self._get_parser().write(f)
517
517
        f.close()
518
518
 
812
812
            os.mkdir(parent_dir)
813
813
        trace.mutter('creating config directory: %r', path)
814
814
        os.mkdir(path)
815
 
        osutils.copy_ownership(path) # Copy ownership from parent dir.
 
815
        osutils.copy_ownership_from_path(path)
816
816
 
817
817
 
818
818
def config_dir():