~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/repository.py

  • Committer: Robey Pointer
  • Date: 2006-09-08 18:46:29 UTC
  • mto: This revision was merged to the branch mainline in revision 1996.
  • Revision ID: robey@lag.net-20060908184629-e3fc4c61ca21508c
pychecker is on crack; go back to using 'is None'.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1640
1640
        target_ids = set(self.target.all_revision_ids())
1641
1641
        if revision_id is not None:
1642
1642
            source_ids = self.source.get_ancestry(revision_id)
1643
 
            assert source_ids[0] == None
 
1643
            assert source_ids[0] is None
1644
1644
            source_ids.pop(0)
1645
1645
        else:
1646
1646
            source_ids = self.source.all_revision_ids()
1743
1743
        # - RBC 20060209
1744
1744
        if revision_id is not None:
1745
1745
            source_ids = self.source.get_ancestry(revision_id)
1746
 
            assert source_ids[0] == None
 
1746
            assert source_ids[0] is None
1747
1747
            source_ids.pop(0)
1748
1748
        else:
1749
1749
            source_ids = self.source._all_possible_ids()
1806
1806
        """See InterRepository.missing_revision_ids()."""
1807
1807
        if revision_id is not None:
1808
1808
            source_ids = self.source.get_ancestry(revision_id)
1809
 
            assert source_ids[0] == None
 
1809
            assert source_ids[0] is None
1810
1810
            source_ids.pop(0)
1811
1811
        else:
1812
1812
            source_ids = self.source._all_possible_ids()