~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/graph.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2011-05-19 09:19:47 UTC
  • mfrom: (5891.1.2 api-docs)
  • Revision ID: pqm@pqm.ubuntu.com-20110519091947-5u0csgddxucufsrm
(spiv) Update 'api-docs' make target to use pydoctor,
 and fix the formatting of many docstrings. (Andrew Bennetts)

Show diffs side-by-side

added added

removed removed

Lines of Context:
250
250
        common ancestor of all border ancestors, because this shows that it
251
251
        cannot be a descendant of any border ancestor.
252
252
 
253
 
        The scaling of this operation should be proportional to
 
253
        The scaling of this operation should be proportional to:
 
254
 
254
255
        1. The number of uncommon ancestors
255
256
        2. The number of border ancestors
256
257
        3. The length of the shortest path between a border ancestor and an
388
389
 
389
390
        :param unique_revision: The revision_id whose ancestry we are
390
391
            interested in.
391
 
            XXX: Would this API be better if we allowed multiple revisions on
392
 
                 to be searched here?
 
392
            (XXX: Would this API be better if we allowed multiple revisions on
 
393
            to be searched here?)
393
394
        :param common_revisions: Revision_ids of ancestries to exclude.
394
395
        :return: A set of revisions in the ancestry of unique_revision
395
396
        """
1563
1564
 
1564
1565
        The recipe allows reconstruction of the same results at a later date.
1565
1566
 
1566
 
        :return: A tuple of (search_kind_str, *details).  The details vary by
 
1567
        :return: A tuple of `(search_kind_str, *details)`.  The details vary by
1567
1568
            kind of search result.
1568
1569
        """
1569
1570
        raise NotImplementedError(self.get_recipe)