manual rename after bzr mv == incorrect status report
Bug #131792 reported by
Alexander Belchenko
This bug report is a duplicate of:
Bug #5158: rfc: don't treat missing files as deleted.
Edit
Remove
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
E:\temp\444>bzr init
E:\temp\444>echo foo > bar
E:\temp\444>bzr add
added bar
E:\temp\444>bzr st
added:
bar
E:\temp\444>bzr ci -m 1
added bar
Committed revision 1.
E:\temp\444>bzr mv bar foo
bar => foo
E:\temp\444>ren foo spam <<<<< manually rename file
E:\temp\444>bzr st
removed:
bar <<<<<<<<< incorrect report, actually it should say `foo` removed
unknown:
spam
E:\temp\444>bzr mv --after bar spam
bzr: ERROR: Could not rename bar => spam: bar is not versioned
Bang! And user has no idea what's correct name of file was.
Of course `bzr mv foo spam --after` works as expected.
Changed in bzr: | |
status: | New → Confirmed |
To post a comment you must log in.
This is intended behavior. Status compares the current tree to the last-committed tree, and the "bar" file is missing.