~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/remotebranch.py

  • Committer: Martin Pool
  • Date: 2005-06-24 04:35:47 UTC
  • Revision ID: mbp@sourcefrog.net-20050624043547-b021184c6d486647
- RemoteBranch.get_revision now goes through store abstraction

Show diffs side-by-side

added added

removed removed

Lines of Context:
145
145
 
146
146
    def get_revision(self, revision_id):
147
147
        from revision import Revision
148
 
        revf = get_url(self.baseurl + '/.bzr/revision-store/' + revision_id,
149
 
                       True)
 
148
        revf = self.revision_store[revision_id]
150
149
        r = Revision.read_xml(revf)
151
150
        if r.revision_id != revision_id:
152
151
            raise BzrCheckError('revision stored as {%s} actually contains {%s}'