dirstate support for changing root id is broken

Bug #504390 reported by John A Meinel on 2010-01-07
This bug affects 1 person
Affects Status Importance Assigned to Milestone
John A Meinel
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
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) on 2010-01-12
Changed in bzr:
milestone: none → 2.1.0rc1
John A Meinel (jameinel) on 2010-01-21
Changed in bzr:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers