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

  • Committer: Martin Pool
  • Date: 2005-08-12 15:24:19 UTC
  • Revision ID: mbp@sourcefrog.net-20050812152419-8f65f048a739f44d
- add revert command to tutorial

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):
594
597
            try:
595
598
                return self.revision_store[revision_id]
596
599
            except IndexError:
597
 
                raise bzrlib.errors.NoSuchRevision(revision_id)
 
600
                raise bzrlib.errors.NoSuchRevision(self, revision_id)
598
601
        finally:
599
602
            self.unlock()
600
603