bzr commit breaks after bzr st when a directory with file(s) has become a symlink
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
Low
|
Unassigned |
Bug Description
| $ mkdir test; cd test
| $ mkdir foo bar; touch foo/bar
| $ bzr init; bzr add -q; bzr commit -m .
| Committing to: /home/james/
| added bar
| added foo
| added foo/bar
| Committed revision 1.
| $ rm -fr foo; ln -s bar foo; bzr st
| removed:
| foo/bar
| kind changed:
| foo (directory => symlink)
| $ bzr commit -m .
| Committing to: /home/james/
| modified foo
| deleted foo/bar
| bzr: ERROR: An inconsistent delta was supplied involving 'foo/bar', 'bar-2008050814
| reason: This was marked as a real delete, but the WT state claims that it still exists and is versioned.
| zsh: exit 3 bzr commit -m .
| $
Interestingly, the 'bzr st' is required, if you don't run that, 'bzr
commit' won't explode.
We originally saw this with bzr 1.3 from Ubuntu 8.04 but have
reproduced it with 1.4 from the bzr PPA.
Changed in bzr: | |
importance: | Undecided → Low |
status: | New → Confirmed |
status: | Confirmed → Triaged |
Changed in bzr: | |
status: | Triaged → Confirmed |
This a variation of bug #205636, with the same work around: bzr st.