~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/graph.py

  • Committer: Jelmer Vernooij
  • Date: 2009-04-06 02:54:14 UTC
  • mfrom: (4253 +trunk)
  • mto: This revision was merged to the branch mainline in revision 4255.
  • Revision ID: jelmer@samba.org-20090406025414-65tpjwcmjp5wa5oj
Merge bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1486
1486
        return self._keys
1487
1487
 
1488
1488
    def is_empty(self):
1489
 
        """Return true if the search lists 1 or more revisions."""
 
1489
        """Return false if the search lists 1 or more revisions."""
1490
1490
        return self._recipe[3] == 0
1491
1491
 
1492
1492
    def refine(self, seen, referenced):
1560
1560
        return keys
1561
1561
 
1562
1562
    def is_empty(self):
1563
 
        """Return true if the search lists 1 or more revisions."""
 
1563
        """Return false if the search lists 1 or more revisions."""
1564
1564
        if revision.NULL_REVISION in self.heads:
1565
1565
            return len(self.heads) == 1
1566
1566
        else: