handle unknown files in working tree passed as file_ids_from

Bug #264704 reported by James Westby
2
Affects Status Importance Assigned to Milestone
bzr-builddeb
Fix Released
Medium
Unassigned

Bug Description

When a working tree is passed as file_ids_from and it has unknowns it falls
over on the assert in

                if other_tree.has_filename(relative_path):
                    file_id = other_tree.path2id(relative_path)
                    assert file_id is not None
                    tt.version_file(file_id, trans_id)
                    found = True
                    break

and one a bit further down.

This should probably just be another "if" check.

James Westby (james-w)
Changed in bzr-builddeb:
importance: Undecided → Medium
milestone: none → 2.0.1
status: New → Triaged
James Westby (james-w)
Changed in bzr-builddeb:
status: Triaged → Fix Committed
James Westby (james-w)
Changed in bzr-builddeb:
status: Fix Committed → 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.