~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/repofmt/knitrepo.py

  • Committer: Aaron Bentley
  • Date: 2007-07-10 21:18:54 UTC
  • mto: This revision was merged to the branch mainline in revision 2606.
  • Revision ID: abentley@panoramicfeedback.com-20070710211854-93ofaa70day2p8d3
Start eliminating the use of None to indicate null revision

Show diffs side-by-side

added added

removed removed

Lines of Context:
117
117
        This is topologically sorted, unless 'topo_sorted' is specified as
118
118
        False.
119
119
        """
120
 
        if revision_id is None:
 
120
        if _mod_revision.is_null(revision_id):
121
121
            return [None]
122
122
        revision_id = osutils.safe_revision_id(revision_id)
123
123
        vf = self._get_revision_vf()