treewidget shows wrong tree

Bug #580798 reported by IWATA Hidetaka
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
QBzr
Status tracked in Trunk
0.18
Fix Released
High
Gary van der Merwe
Trunk
Fix Released
High
IWATA Hidetaka

Bug Description

treewidget shows wrong tree under the some conditions.
I saw this problem with both release-0.18.5 and trunk(r1259).

To reproduce:
# create branch
 bzr init test
 cd test

# add folder tree and make commit
 mkdir a\b1
 mkdir a\b2
 bzr add
 bzr commit -m "prepare"

# add some files
 echo >a\b1\foo.txt
 echo >a\b2\bar1.txt
 echo >a\b2\bar2.txt
 echo >a\b2\bar3.txt
 echo >a\b2\bar4.txt
 bzr add
 bzr qcommit a

Then qcommit dialog show wrong tree.(please see attachment.)
+a
   + a/b2 <- This node should be 'b2'
      + bar1.txt
      + bar2.txt
      + bar3.txt
      + bar4.txt
   + a/b1/foo.txt
+ a/b2 <- This node should not be shown.(duplicate)

Related branches

Revision history for this message
IWATA Hidetaka (hid-iwata) wrote :
Revision history for this message
IWATA Hidetaka (hid-iwata) wrote :

This patch will fix this problem.

Revision history for this message
Gary van der Merwe (garyvdm) wrote :

Hi iwata

Thank you for the detailed bug report.

I would much prefer it if you could push a branch, rather than attach a patch.

I will take a look.

Changed in qbzr:
importance: Undecided → High
status: New → Confirmed
Revision history for this message
IWATA Hidetaka (hid-iwata) wrote :

Hi Gary.
Thank you for reply.

I've pushed to lp:~hid-iwata/qbzr/fix-580798 (branched from lp:qbzr/0.18).
Please check it out.

Revision history for this message
Gary van der Merwe (garyvdm) wrote : Re: [Bug 580798] Re: treewidget shows wrong tree

On Sat, May 15, 2010 at 12:04 PM, iwata <email address hidden> wrote:
> Hi Gary.
> Thank you for reply.
>
> I've pushed to lp:~hid-iwata/qbzr/fix-580798 (branched from lp:qbzr/0.18).
> Please check it out.

Sorry. I only saw this after I pushed. I applied your patch manually.

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

Other bug subscribers

Bug attachments

Remote bug watches

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