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

  • Committer: Aaron Bentley
  • Date: 2006-12-22 03:28:50 UTC
  • mto: (2255.6.1 dirstate)
  • mto: This revision was merged to the branch mainline in revision 2322.
  • Revision ID: aaron.bentley@utoronto.ca-20061222032850-nfiemdjr81urpbm3
Test workingtree4 format, prevent use with old repos

Show diffs side-by-side

added added

removed removed

Lines of Context:
212
212
        else:
213
213
            self.work_tree = working_tree
214
214
            self.branch = self.work_tree.branch
 
215
            if getattr(self.work_tree, 'requires_rich_root', lambda: False)():
 
216
                if not self.branch.repository.supports_rich_root():
 
217
                    raise errors.RootNotRich()
215
218
        if message_callback is None:
216
219
            if message is not None:
217
220
                if isinstance(message, str):