No such file error with non-text conflicts
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QBzr |
Confirmed
|
High
|
Unassigned |
Bug Description
If you open a working tree containing non-text conflicts in Bazaar Explorer you get a "No such file" error whenever you refresh the window. You also get the same error if you try to revert the merge.
To reproduce:
* Change a file in one branch and remove it in another
* Merge the second branch to the first
* Open the tree in Bazaar Explorer
* It displays the message: "bzr: ERROR: No such file: u'path/
* Refreshing the window (F5) brings up the error again
* You can ignore it and manually resolve the conflict, but if you try to revert the merge (via the GUI) you get the error again and can't proceed.
Some of the other conflict types give the same behaviour (e.g. conflicts in a binary file, same file renamed to different names).
Tested with Bazaar Explorer 0.11.2, QBzr 0.18, Bazaar 2.1.0rc1, Python 2.5.4 on Windows XP.
description: | updated |
Changed in bzr-explorer: | |
importance: | Undecided → High |
status: | New → Confirmed |
Thanks for the bug report and steps to reproduce. Here's the actual exception (obtained via bzr explorer . -Derror):
Traceback (most recent call last): ian/.bazaar/ plugins/ explorer/ lib/explorer. py", line 1348, in callable_ with_cleanup ian/.bazaar/ plugins/ explorer/ lib/explorer. py", line 1517, in _open_location_task changed_ view() ian/.bazaar/ plugins/ explorer/ lib/explorer. py", line 651, in changed_view _wt_browser. set_tree( view.tree, view.branch) ian/.bazaar/ plugins/ explorer/ lib/wt_ browser. py", line 63, in set_tree _browser. set_tree( tree, branch) ian/.bazaar/ plugins/ explorer/ lib/wt_ browser. py", line 452, in set_tree _tree_viewer. set_tree( tree, branch) ian/.bazaar/ plugins/ qbzr/lib/ treewidget. py", line 1363, in set_tree checked_ paths=initial_ checked_ paths) ian/.bazaar/ plugins/ qbzr/lib/ treewidget. py", line 432, in set_tree self.tree. abspath( path)) ian/Projects/ bzr/bzr/ trunk/bzrlib/ osutils. py", line 1982, in file_kind NoSuchFile( f) errors. NoSuchFile: No such file: u'/home/ ian/Projects/ scm-play/ keywords/ aa.txt'
File "/home/
task_callable()
File "/home/
self.
File "/home/
self.
File "/home/
self.
File "/home/
self.
File "/home/
initial_
File "/home/
kind = file_kind(
File "/home/
raise errors.
bzrlib.