/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/graph.py

  • Committer: John Arbash Meinel
  • Date: 2008-05-22 22:02:57 UTC
  • mto: This revision was merged to the branch mainline in revision 3460.
  • Revision ID: john@arbash-meinel.com-20080522220257-z3cnrx690d6ue4oz
Change the function to be called 'find_distance_to_null'

Show diffs side-by-side

added added

removed removed

Lines of Context:
212
212
        right = searchers[1].seen
213
213
        return (left.difference(right), right.difference(left))
214
214
 
215
 
    def find_revno(self, target_revision_id, known_revision_ids):
216
 
        """Determine the revno for target_revision_id.
 
215
    def find_distance_to_null(self, target_revision_id, known_revision_ids):
 
216
        """Find the left-hand distance to the NULL_REVISION.
 
217
 
 
218
        (This can also be considered the revno of a branch at
 
219
        target_revision_id.)
217
220
 
218
221
        :param target_revision_id: A revision_id which we would like to know
219
222
            the revno for.