~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/branch.py

  • Committer: Martin Pool
  • Date: 2005-08-04 22:07:57 UTC
  • Revision ID: mbp@sourcefrog.net-20050804220757-432118a9902fb7cd
- don't set tree root id on newly created trees because it breaks some merge code
  and is not needed for now

Show diffs side-by-side

added added

removed removed

Lines of Context:
316
316
            self.controlfile(f, 'w').write('')
317
317
        mutter('created control directory in ' + self.base)
318
318
 
319
 
        pack_xml(Inventory(gen_root_id()), self.controlfile('inventory','w'))
 
319
        # if we want per-tree root ids then this is the place to set
 
320
        # them; they're not needed for now and so ommitted for
 
321
        # simplicity.
 
322
        pack_xml(Inventory(), self.controlfile('inventory','w'))
320
323
 
321
324
 
322
325
    def _check_format(self):