rfc: don't treat missing files as deleted
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
Low
|
Unassigned | ||
Breezy |
Triaged
|
Low
|
Unassigned |
Bug Description
Robert points out that it's inconsistent that bzr must be explicitly
informed of adds and renames, but it will heuristically detect deletion.
In particular if you rename a file outside of bzr then it will be
detected as deletion.
The alternatives are:
- simply treat missing-
- detect all adds/renames/
names are used for everything this does not really solve the problem)
Treating missing files as deleted is also a bit of a source of bugs, and
may continue to be so. It means that the working inventory does not
really describe the shape of the tree. (Perhaps it could be fixed
systematically by better factoring of WorkingTree.)
This is a cute and sometimes useful feature but perhaps the
inconsistency is a problem.
We could change the behaviour to this:
* status reports missing files as missing
* all other commands that try to access that file raise an error
We can have a command that marks all missing files as deleted, so the
current behaviour can still be available, but just not the default, and
implemented in one place, not several.
(What is the svn behaviour?)
Related branches
Changed in bzr: | |
importance: | Medium → Low |
tags: | added: check-for-breezy |
Changed in brz: | |
status: | New → Triaged |
importance: | Undecided → Low |
tags: | removed: check-for-breezy |
Needs discussion, really.