crash when conflicting metadata-only change with deletion
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
Medium
|
Unassigned |
Bug Description
This just happened to me. I don't think it's too hard to handle properly.
hope% mkdir a
hope% bzr init a
hope% cd a
hope% ls
hope% date>foo
hope% bzr add
bzr added foo
hope% bzr commit -m 'add foo'
hope% bzr branch . ../b
hope% rm foo
hope% bzr commit -m 'remove foo'
hope% ../b
hope% ls
foo
hope% chmod +x foo
hope% bzr st
modified:
foo*
hope% bzr diff
bzr === modified file 'foo' (properties changed)
zsh: exit 1 bzr diff
hope% bzr commit -m 'exec foo'
hope% cd ../a
hope% bzr merge ../b
bzr: ERROR: exceptions.
at /home/mbp/
in apply_changeset
**** entering debugger
> /home/mbp/
-> path = os.path.join(dir, inventory[
(Pdb) q
zsh: exit 3 bzr merge ../b
We are now using totally different code for this.