Bazaar Version Control System

dirstate support for changing root id is broken

Reported by John A Meinel on 2010-01-07
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
Medium
John A Meinel
2.0
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.

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