~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/xml8.py

  • Committer: Martin Pool
  • Date: 2009-08-04 11:40:59 UTC
  • mfrom: (4584 +trunk)
  • mto: This revision was merged to the branch mainline in revision 4586.
  • Revision ID: mbp@sourcefrog.net-20090804114059-xptutagbs5jev3ry
merge trunk

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.