~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/repository.py

  • Committer: Martin Pool
  • Date: 2011-07-04 21:10:37 UTC
  • mto: (6034.1.1 filter-tree)
  • mto: This revision was merged to the branch mainline in revision 6035.
  • Revision ID: mbp@canonical.com-20110704211037-ro3417imj3oqnqxp
Support exporting tarballs from ContentFilterTree

Show diffs side-by-side

added added

removed removed

Lines of Context:
340
340
        """
341
341
        self.control_files.break_lock()
342
342
 
 
343
    @needs_read_lock
 
344
    def _eliminate_revisions_not_present(self, revision_ids):
 
345
        """Check every revision id in revision_ids to see if we have it.
 
346
 
 
347
        Returns a set of the present revisions.
 
348
        """
 
349
        result = []
 
350
        graph = self.get_graph()
 
351
        parent_map = graph.get_parent_map(revision_ids)
 
352
        # The old API returned a list, should this actually be a set?
 
353
        return parent_map.keys()
 
354
 
343
355
    @staticmethod
344
356
    def create(a_bzrdir):
345
357
        """Construct the current default format repository in a_bzrdir."""