~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/repository.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2007-07-12 09:49:37 UTC
  • mfrom: (2598.5.9 nullrevision)
  • Revision ID: pqm@pqm.ubuntu.com-20070712094937-rw5qbi81enh0pvhw
Make most functions prefer NULL_REVISION

Show diffs side-by-side

added added

removed removed

Lines of Context:
827
827
        
828
828
        This is topologically sorted.
829
829
        """
830
 
        if revision_id is None:
 
830
        if _mod_revision.is_null(revision_id):
831
831
            return [None]
832
832
        revision_id = osutils.safe_revision_id(revision_id)
833
833
        if not self.has_revision(revision_id):