/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/tests/blackbox/test_status.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:
32
32
import bzrlib.branch
33
33
from bzrlib.builtins import merge
34
34
from bzrlib.osutils import pathjoin
35
 
from bzrlib.revisionspec import get_revision_spec
 
35
from bzrlib.revisionspec import RevisionSpec
36
36
from bzrlib.status import show_tree_status
37
37
from bzrlib.tests import TestCaseWithTransport, TestSkipped
38
38
from bzrlib.workingtree import WorkingTree
80
80
 
81
81
        tof = StringIO()
82
82
        revs =[]
83
 
        revs.append(get_revision_spec('0'))
 
83
        revs.append(RevisionSpec.from_string('0'))
84
84
        
85
85
        show_tree_status(wt, to_file=tof, revision=revs)
86
86
        
95
95
        wt.commit('Another test message')
96
96
        
97
97
        tof = StringIO()
98
 
        revs.append(get_revision_spec('1'))
 
98
        revs.append(RevisionSpec.from_string('1'))
99
99
        
100
100
        show_tree_status(wt, to_file=tof, revision=revs)
101
101