~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/revisionspec.py

  • Committer: Jelmer Vernooij
  • Date: 2011-02-19 17:37:45 UTC
  • mto: This revision was merged to the branch mainline in revision 5672.
  • Revision ID: jelmer@samba.org-20110219173745-q05eth8vohf7g4k6
Remove all methods and arguments that were deprecated before bzr 2.0.0.

Show diffs side-by-side

added added

removed removed

Lines of Context:
168
168
                         spectype.__name__, spec)
169
169
            return spectype(spec, _internal=True)
170
170
        else:
171
 
            for spectype in SPEC_TYPES:
172
 
                if spec.startswith(spectype.prefix):
173
 
                    trace.mutter('Returning RevisionSpec %s for %s',
174
 
                                 spectype.__name__, spec)
175
 
                    return spectype(spec, _internal=True)
176
171
            # Otherwise treat it as a DWIM, build the RevisionSpec object and
177
172
            # wait for _match_on to be called.
178
173
            return RevisionSpec_dwim(spec, _internal=True)
994
989
_register_revspec(RevisionSpec_submit)
995
990
_register_revspec(RevisionSpec_annotate)
996
991
_register_revspec(RevisionSpec_mainline)
997
 
 
998
 
# classes in this list should have a "prefix" attribute, against which
999
 
# string specs are matched
1000
 
SPEC_TYPES = symbol_versioning.deprecated_list(
1001
 
    symbol_versioning.deprecated_in((1, 12, 0)), "SPEC_TYPES", [])