~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/xml8.py

  • Committer: Robert Collins
  • Date: 2009-08-04 04:36:34 UTC
  • mfrom: (4583 +trunk)
  • mto: This revision was merged to the branch mainline in revision 4593.
  • Revision ID: robertc@robertcollins.net-20090804043634-2iu9wpcgs273i97s
Merge bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
168
168
        :raises: AssertionError if an error has occurred.
169
169
        """
170
170
        if inv.revision_id is None:
171
 
            raise AssertionError()
 
171
            raise AssertionError("inv.revision_id is None")
172
172
        if inv.root.revision is None:
173
 
            raise AssertionError()
 
173
            raise AssertionError("inv.root.revision is None")
174
174
 
175
175
    def _check_cache_size(self, inv_size, entry_cache):
176
176
        """Check that the entry_cache is large enough.