/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: Martin Pool
  • Date: 2009-08-28 04:13:16 UTC
  • mfrom: (4634.6.8 2.0)
  • mto: This revision was merged to the branch mainline in revision 4660.
  • Revision ID: mbp@sourcefrog.net-20090828041316-adcbxfnfpc4bjtpl
Merge 2.0 back to trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
161
161
            return spectype(spec, _internal=True)
162
162
        else:
163
163
            for spectype in SPEC_TYPES:
164
 
                trace.mutter('Returning RevisionSpec %s for %s',
165
 
                             spectype.__name__, spec)
166
164
                if spec.startswith(spectype.prefix):
 
165
                    trace.mutter('Returning RevisionSpec %s for %s',
 
166
                                 spectype.__name__, spec)
167
167
                    return spectype(spec, _internal=True)
168
168
            # RevisionSpec_revno is special cased, because it is the only
169
169
            # one that directly handles plain integers
185
185
            called directly. Only from RevisionSpec.from_string()
186
186
        """
187
187
        if not _internal:
188
 
            # XXX: Update this after 0.10 is released
189
188
            symbol_versioning.warn('Creating a RevisionSpec directly has'
190
189
                                   ' been deprecated in version 0.11. Use'
191
190
                                   ' RevisionSpec.from_string()'