~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/blackbox/test_status.py

  • Committer: John Arbash Meinel
  • Date: 2006-08-24 00:07:15 UTC
  • mto: This revision was merged to the branch mainline in revision 1979.
  • Revision ID: john@arbash-meinel.com-20060824000715-142aafd575a94f1a
Remove a few more direct references to RevisionSpec

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 RevisionSpec
 
35
from bzrlib.revisionspec import get_revision_spec
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(RevisionSpec(0))
 
83
        revs.append(get_revision_spec('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(RevisionSpec(1))
 
98
        revs.append(get_revision_spec('1'))
99
99
        
100
100
        show_tree_status(wt, to_file=tof, revision=revs)
101
101