Renaming files leads to wrong missing files

Bug #967163 reported by André Bachmann
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
QBzr
New
Undecided
Unassigned

Bug Description

Bazaar 2.5.0-1 on Win7 x64:

I just played with renaming files by the context menu entry of Bazar Explorer. I was in the branch of bzr-explorer/trunk. Then I opened the folder 'widgets' and right-clicked on a file like collapsable_section.py and selected 'Rename'. I put in this field '/collapsable_section.py' and clicked on OK. The file was now physically moved to C:\collapsable_section.py. However, the right hand working tree view showed that this file is missing - but it also showed the filename in the working tree's root directory, instead of the correct origin folder 'widgets'.

So there are two problems:

1. The filename is shown on the wrong directory.
2. Is it really intended that the user is able to move files with the rename command outside of their branch or working tree?

Number 2 leads to another problem: If I try to rename a file and moving it to a directory where a file with this name already exists, Bazaar Explorer shows this ugly error (Error 183: A file cannot be created if it exists already):

...
931.649 opening working tree 'C:/spielwiese/Bazaar/bzr-explorer'
931.654 check paths: None
943.462 check paths: None
946.120 Traceback (most recent call last):
  File "C:/Program Files (x86)/Bazaar/plugins\qbzr\lib\treewidget.py", line 920, in setData
WindowsError: [Error 183] Eine Datei kann nicht erstellt werden, wenn sie bereits vorhanden ist

946.169 Traceback (most recent call last):
  File "C:/Program Files (x86)/Bazaar/plugins\qbzr\lib\treewidget.py", line 920, in setData
WindowsError: [Error 183] Eine Datei kann nicht erstellt werden, wenn sie bereits vorhanden ist

946.209 No Apport available to Bazaar
...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.