dirstate support for changing root id is broken

Bug #504390 reported by John A Meinel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
Fix Released
Medium
John A Meinel
2.0
Fix Released
Medium
John A Meinel

Bug Description

In investigating bug #494269 I realized that dirstate's support for setting the root id is broken. Specifically, this fails

root_id = new_root_id
wt.set_root_id(root_id)
assert '' = wt.id2path(root_id)
^- Actually raises an exception

What is weird is that wt.path2id('') does return the new root id. But something (possibly the _id_entry cache?) is not working.

Related branches

John A Meinel (jameinel)
Changed in bzr:
milestone: none → 2.1.0rc1
John A Meinel (jameinel)
Changed in bzr:
status: In Progress → Fix Released
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.