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

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-03-30 05:50:28 UTC
  • mfrom: (4183.5.9 commit-uses-ric)
  • Revision ID: pqm@pqm.ubuntu.com-20090330055028-lhmncpzf7ebkd2yc
(robertc) Teach commit to use record_iter_changes for some commits.
        (Robert Collins)

Show diffs side-by-side

added added

removed removed

Lines of Context:
351
351
                    parent_ies[(dirname + '/' + name).strip('/')] = inv_entry
352
352
                elif kind == 'tree-reference':
353
353
                    if not self._repo_supports_tree_reference:
354
 
                        raise AssertionError(
355
 
                            "repository of %r "
356
 
                            "doesn't support tree references "
357
 
                            "required by entry %r"
358
 
                            % (self, name))
 
354
                        raise errors.UnsupportedOperation(
 
355
                            self._generate_inventory,
 
356
                            self.branch.repository)
359
357
                    inv_entry.reference_revision = link_or_sha1 or None
360
358
                elif kind != 'symlink':
361
359
                    raise AssertionError("unknown kind %r" % kind)