/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/workingtree_implementations/test_move.py

  • Committer: Ian Clatworthy
  • Date: 2008-12-23 07:47:43 UTC
  • mfrom: (3916 +trunk)
  • mto: (3586.1.28 views-ui)
  • mto: This revision was merged to the branch mainline in revision 4030.
  • Revision ID: ian.clatworthy@canonical.com-20081223074743-t942gwabt937o693
merge bzr.dev r3916

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
    osutils,
24
24
    )
25
25
 
26
 
from bzrlib.workingtree_4 import WorkingTreeFormat4
 
26
from bzrlib.workingtree_4 import DirStateWorkingTreeFormat
27
27
from bzrlib.tests.workingtree_implementations import TestCaseWithWorkingTree
28
28
 
29
29
 
99
99
                                tree.move, ['a1'], to_name='sub1',
100
100
                                after=False)
101
101
        except TypeError:
102
 
            # WorkingTreeFormat4 doesn't have to maintain api compatibility
103
 
            # since it was deprecated before the class was introduced.
104
 
            if not isinstance(self.workingtree_format, WorkingTreeFormat4):
 
102
            # WorkingTreeFormat4 and later don't have to maintain api
 
103
            # compatibility since it was deprecated before they were introduced.
 
104
            if not isinstance(self.workingtree_format,
 
105
                DirStateWorkingTreeFormat):
105
106
                raise
106
107
        tree._validate()
107
108