/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/store/revision/text.py

  • Committer: John Arbash Meinel
  • Date: 2008-06-05 16:27:16 UTC
  • mfrom: (3475 +trunk)
  • mto: This revision was merged to the branch mainline in revision 3476.
  • Revision ID: john@arbash-meinel.com-20080605162716-a3hn238tnctbfd8j
merge bzr.dev, resolve NEWS

Show diffs side-by-side

added added

removed removed

Lines of Context:
78
78
        """See RevisionStore.all_revision_ids()."""
79
79
        # for TextRevisionStores, this is only functional
80
80
        # on listable transports.
81
 
        assert self.text_store.listable()
82
81
        result_graph = {}
83
82
        for rev_id in self.text_store:
84
83
            rev = self.get_revision(rev_id, transaction)
98
97
            try:
99
98
                r = self._serializer.read_revision(xml_file)
100
99
            except SyntaxError, e:
101
 
                raise errors.BzrError('failed to unpack revision_xml',
102
 
                                   [revision_id,
103
 
                                   str(e)])
 
100
                raise errors.BzrError('failed to unpack revision_xml %s %s' % (
 
101
                    revision_id, str(e)))
104
102
            xml_file.close()
105
 
            assert r.revision_id == revision_id
106
103
            revisions.append(r)
107
104
        return revisions
108
105