/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/repofmt/weaverepo.py

  • Committer: Martin Pool
  • Date: 2009-03-24 04:49:51 UTC
  • mfrom: (3407.2.20 controlfiles)
  • mto: This revision was merged to the branch mainline in revision 4202.
  • Revision ID: mbp@sourcefrog.net-20090324044951-k5h6x6u0zz4721m5
bzrdir takes responsibility for file/directory unix modes

Show diffs side-by-side

added added

removed removed

Lines of Context:
299
299
        try:
300
300
            transport.mkdir_multi(['revision-store', 'weaves'],
301
301
                mode=a_bzrdir._get_dir_mode())
302
 
            transport.put_bytes_non_atomic('inventory.weave', empty_weave)
 
302
            transport.put_bytes_non_atomic('inventory.weave', empty_weave,
 
303
                mode=a_bzrdir._get_file_mode())
303
304
        finally:
304
305
            control_files.unlock()
305
306
        return self.open(a_bzrdir, _found=True)