~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Kent Gibson
  • Date: 2007-03-07 14:49:00 UTC
  • mfrom: (2324 +trunk)
  • mto: This revision was merged to the branch mainline in revision 2350.
  • Revision ID: warthog618@gmail.com-20070307144900-6bt7twg47zul3w0w
merged bzr.dev

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', '.')