~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/revisionspec.py

  • Committer: John Arbash Meinel
  • Date: 2005-12-30 20:54:47 UTC
  • mto: (1185.50.36 bzr-jam-integration)
  • mto: This revision was merged to the branch mainline in revision 1536.
  • Revision ID: john@arbash-meinel.com-20051230205447-e72814c9e3f22832
Updated -r revid:foo so that it can match revisions which aren't in the revision history

Show diffs side-by-side

added added

removed removed

Lines of Context:
204
204
        try:
205
205
            return RevisionInfo(branch, revs.index(self.spec) + 1, self.spec)
206
206
        except ValueError:
207
 
            return RevisionInfo(branch, None)
 
207
            return RevisionInfo(branch, None, self.spec)
208
208
 
209
209
SPEC_TYPES.append(RevisionSpec_revid)
210
210