~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/graph.py

  • Committer: Aaron Bentley
  • Date: 2007-06-19 14:51:32 UTC
  • mto: This revision was merged to the branch mainline in revision 2537.
  • Revision ID: abentley@panoramicfeedback.com-20070619145132-xc0rgyfzebvraxb0
Make parents provider private

Show diffs side-by-side

added added

removed removed

Lines of Context:
92
92
            conforming to the behavior of StackedParentsProvider.get_parents
93
93
        """
94
94
        self.get_parents = parents_provider.get_parents
95
 
        self.parents_provider = parents_provider
 
95
        self._parents_provider = parents_provider
96
96
 
97
97
    def __repr__(self):
98
 
        return 'Graph(%r)' % self.parents_provider
 
98
        return 'Graph(%r)' % self._parents_provider
99
99
 
100
100
    def find_lca(self, *revisions):
101
101
        """Determine the lowest common ancestors of the provided revisions