/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

  • Committer: Parth Malwankar
  • Date: 2010-03-06 05:28:17 UTC
  • mto: (5094.3.1 integration)
  • mto: This revision was merged to the branch mainline in revision 5107.
  • Revision ID: parth.malwankar@gmail.com-20100306052817-5ygp4co5l6frp0d1
removed parent_dir.

Show diffs side-by-side

added added

removed removed

Lines of Context:
511
511
 
512
512
    def _write_config_file(self):
513
513
        path = self._get_filename()
514
 
        parent = osutils.parent_dir(path)
515
 
        f = osutils.open_with_ownership(path, 'wb', ownership_src = parent)
 
514
        f = osutils.open_with_ownership(path, 'wb')
516
515
        self._get_parser().write(f)
517
516
        f.close()
518
517
 
811
810
                trace.mutter('creating config parent directory: %r', parent_dir)
812
811
            os.mkdir(parent_dir)
813
812
        trace.mutter('creating config directory: %r', path)
814
 
        osutils.mkdir_with_ownership(path, ownership_src = osutils.parent_dir(path))
 
813
        osutils.mkdir_with_ownership(path)
815
814
 
816
815
 
817
816
def config_dir():