/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_mv.py

  • Committer: Marius Kruger
  • Date: 2006-12-21 18:07:52 UTC
  • mto: (2220.1.1 bzr.enhanced_move)
  • mto: This revision was merged to the branch mainline in revision 2241.
  • Revision ID: marius.kruger@enerweb.co.za-20061221180752-twd4soiaglxi3ofj
Improved WorkingTree.move excptions. (as requested)

Show diffs side-by-side

added added

removed removed

Lines of Context:
78
78
        tree.add(['test.txt'])
79
79
 
80
80
        self.run_bzr_error(
81
 
            ["^bzr: ERROR: Invalid destination: .* is not versioned$"],
 
81
            ["^bzr: ERROR: Invalid move destination: .* is not versioned$"],
82
82
            'mv', 'test.txt', 'sub1')
83
83
        
84
84
        self.run_bzr_error(
229
229
 
230
230
        os.rename('a1', 'sub1/a1')
231
231
        self.run_bzr_error(            
232
 
            ["^bzr: ERROR: Invalid destination: .* is not versioned$"],
 
232
            ["^bzr: ERROR: Invalid move destination: .* is not versioned$"],
233
233
            'mv', 'a1', 'a2', 'sub1')
234
234
        self.failIfExists('a1')
235
235
        self.failUnlessExists('a2')