~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/branch.py

  • Committer: Robert Collins
  • Date: 2005-10-16 14:51:21 UTC
  • mto: This revision was merged to the branch mainline in revision 1459.
  • Revision ID: robertc@lifelesslap.robertcollins.net-20051016145121-01852573f8c63daa
replace __contains__ calls in stores with has_id

Show diffs side-by-side

added added

removed removed

Lines of Context:
750
750
        This does not necessarily imply the revision is merge
751
751
        or on the mainline."""
752
752
        return (revision_id is None
753
 
                or revision_id in self.revision_store)
 
753
                or self.revision_store.has_id(revision_id))
754
754
 
755
755
    def get_revision_xml_file(self, revision_id):
756
756
        """Return XML file object for revision object."""