~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/repository.py

  • Committer: Aaron Bentley
  • Date: 2006-06-25 21:04:37 UTC
  • mto: This revision was merged to the branch mainline in revision 1811.
  • Revision ID: aaron.bentley@utoronto.ca-20060625210437-177daa5dfc94f0a1
Tweaks from review

Show diffs side-by-side

added added

removed removed

Lines of Context:
332
332
        return r
333
333
 
334
334
    @needs_read_lock
335
 
    def get_revision_deltas(self, revisions):
 
335
    def get_deltas_for_revisions(self, revisions):
336
336
        """Produce a generator of revision deltas.
337
337
        
338
338
        Note that the input is a sequence of REVISIONS, not revision_ids.
360
360
        revision.
361
361
        """
362
362
        r = self.get_revision(revision_id)
363
 
        return list(self.get_revision_deltas([r]))[0]
 
363
        return list(self.get_deltas_for_revisions([r]))[0]
364
364
 
365
365
    def _check_revision_parents(self, revision, inventory):
366
366
        """Private to Repository and Fetch.