/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/builtins.py

  • Committer: John Arbash Meinel
  • Date: 2006-08-28 16:19:47 UTC
  • mto: This revision was merged to the branch mainline in revision 1979.
  • Revision ID: john@arbash-meinel.com-20060828161947-5986ffb6cf082f59
Switch from get_revision_spec() to RevisionSpec.from_string() (as advised by Martin)

Show diffs side-by-side

added added

removed removed

Lines of Context:
51
51
from bzrlib.option import Option
52
52
from bzrlib.progress import DummyProgress, ProgressPhase
53
53
from bzrlib.revision import common_ancestor
54
 
from bzrlib.revisionspec import get_revision_spec
 
54
from bzrlib.revisionspec import RevisionSpec
55
55
from bzrlib.trace import mutter, note, log_error, warning, is_quiet, info
56
56
from bzrlib.transport.local import LocalTransport
57
57
from bzrlib.workingtree import WorkingTree
235
235
            revs.extend(revision)
236
236
        if revision_info_list is not None:
237
237
            for rev in revision_info_list:
238
 
                revs.append(get_revision_spec(rev))
 
238
                revs.append(RevisionSpec.from_string(rev))
239
239
        if len(revs) == 0:
240
240
            raise BzrCommandError('You must supply a revision identifier')
241
241