export crashes with 'Path ... not in branch' if folder to be removed has same name as file

Bug #1167690 reported by Christian Verkerk
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Bazaar Fast Import
New
Undecided
Unassigned

Bug Description

Given the following commit:

Removed:
  dev/scripts/cluster/
Renamed:
  dev/scripts/cluster/cluster => dev/scripts/cluster

The following gets output by bzr fast-export

  D dev/scripts/cluster/cluster
  R dev/scripts/cluster/cluster dev/scripts/cluster

In this case the renamed file is equivalent to the folder name that was removed. Using --plain remove instructions are not sent for directories, however bzr export doesn't check whether the item is a file or a directory and incorrectly issues a remove command for the file.

Related branches

Revision history for this message
Christian Verkerk (christianverkerk) wrote :
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.