~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/revisionspec.py

  • Committer: Jelmer Vernooij
  • Date: 2011-12-18 18:04:21 UTC
  • mto: This revision was merged to the branch mainline in revision 6382.
  • Revision ID: jelmer@canonical.com-20111218180421-2jfwkj860i0n51zr
Don't look at the revno when determining if a RevisionInfo is valid.

Show diffs side-by-side

added added

removed removed

Lines of Context:
78
78
        # first the easy ones...
79
79
        if self.rev_id is None:
80
80
            return False
81
 
        if self.revno is not None:
82
 
            return True
83
81
        # TODO: otherwise, it should depend on how I was built -
84
82
        # if it's in_history(branch), then check revision_history(),
85
83
        # if it's in_store(branch), do the check below