~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/workingtree.py

  • Committer: Martin Packman
  • Date: 2011-12-06 12:36:54 UTC
  • mto: (6374.2.1 fix_news_2.5b5)
  • mto: This revision was merged to the branch mainline in revision 6366.
  • Revision ID: martin.packman@canonical.com-20111206123654-0c1jlu0usq50xuvs
Don't call str() on a path, don't call str() on a path

Show diffs side-by-side

added added

removed removed

Lines of Context:
2795
2795
                # something is wrong, so lets determine what exactly
2796
2796
                if not self.has_filename(from_rel) and \
2797
2797
                   not self.has_filename(to_rel):
2798
 
                    raise errors.BzrRenameFailedError(from_rel,to_rel,
2799
 
                        errors.PathsDoNotExist(paths=(str(from_rel),
2800
 
                        str(to_rel))))
 
2798
                    raise errors.BzrRenameFailedError(from_rel, to_rel,
 
2799
                        errors.PathsDoNotExist(paths=(from_rel, to_rel)))
2801
2800
                else:
2802
2801
                    raise errors.RenameFailedFilesExist(from_rel, to_rel)
2803
2802
            rename_entry.only_change_inv = only_change_inv