~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/workingtree_4.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:
469
469
            state._get_block_entry_index(to_entry_dirname, to_basename, 0)
470
470
        if not entry_present:
471
471
            raise errors.BzrMoveFailedError('', to_dir,
472
 
                errors.NotInWorkingDirectory(to_dir))
 
472
                errors.NotVersionedError(to_dir))
473
473
        to_entry = state._dirblocks[to_entry_block_index][1][to_entry_entry_index]
474
474
        # get a handle on the block itself.
475
475
        to_block_index = state._ensure_block(