~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Robert Collins
  • Date: 2007-03-01 09:34:26 UTC
  • mto: (2255.11.3 dirstate)
  • mto: This revision was merged to the branch mainline in revision 2322.
  • Revision ID: robertc@robertcollins.net-20070301093426-yavn95x00rpc5nyb
Fix blackbox test_mv usage of inventory, and the errors raised by workingtree4.move - though that should be made into a workingtree conformance test.

Show diffs side-by-side

added added

removed removed

Lines of Context:
111
111
        self.run_bzr('mv', 'hello.txt', 'sub2')
112
112
        self.assertMoved('hello.txt','sub2/hello.txt')
113
113
 
114
 
        tree.read_working_inventory()
115
 
 
116
114
        self.build_tree(['sub1/'])
117
115
        tree.add(['sub1'])
118
116
        self.run_bzr('mv', 'sub2/hello.txt', 'sub1')
129
127
        os.chdir('sub1/sub2')
130
128
        self.run_bzr('mv', '../hello.txt', '.')
131
129
        self.failUnlessExists('./hello.txt')
132
 
        tree.read_working_inventory()
133
130
 
134
131
        os.chdir('..')
135
132
        self.run_bzr('mv', 'sub2/hello.txt', '.')