bzr commit fails to commit merges that change file kind
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
High
|
John A Meinel |
Bug Description
bzr 0.15.0dev0 fails to commit a merge that includes file type changes (e.g. file to directory). See this mailing list thread for more context: https:/
Steps to reproduce:
mkdir branch1
bzr init branch1
touch branch1/file1
bzr add branch1/file1
bzr ci branch1 -m "add a file"
bzr branch branch1 branch2
rm branch1/file1
mkdir branch1/file1
bzr ci branch1 -m "replace file with directory"
cd branch2
bzr merge ../branch1
bzr ci <-- fails with AssertionError:
File "/home/
assert candidates[
James Westby created a failing unit test for this situation: https:/
Still present in bzr.dev