/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/revisionspec.py

  • Committer: John Arbash Meinel
  • Date: 2006-08-23 23:55:19 UTC
  • mto: This revision was merged to the branch mainline in revision 1979.
  • Revision ID: john@arbash-meinel.com-20060823235519-4067e5c4191832ea
Remove some places that were directly instantiating a RevisionSpec object. Also get rid of support for --revision 1:2, it has been deprecated for a long time

Show diffs side-by-side

added added

removed removed

Lines of Context:
328
328
    prefix = 'before:'
329
329
    
330
330
    def _match_on(self, branch, revs):
331
 
        r = RevisionSpec(self.spec)._match_on(branch, revs)
 
331
        r = get_revision_spec(self.spec)._match_on(branch, revs)
332
332
        if r.revno == 0:
333
333
            raise errors.InvalidRevisionSpec(self.user_spec, branch,
334
334
                                         'cannot go before the null: revision')