[MERGE] Detailed short status

John Arbash Meinel john at arbash-meinel.com
Tue Feb 6 15:42:46 GMT 2007


Aaron Bentley wrote:
> Aaron Bentley wrote:
>> Hi all,
> 
>> This bundle changes "bzr status --short" to use the format currently
>> produced by revert, which more precise[1], more accurate, and can be
>> generated directly from Tree._iter_changes.
> 
>> Aaron
> Ahem:
> [1] More precise, because it can show the difference between a dangling
> inventory entry and a deleted file.  More accurate because it shows a
> kind change as a kind change even when a rename is involved.
> 
> Aaron

I found an edge case you aren't handling. Deleted files. Specifically I
can do:

% echo a > a
% bzr add a
% rm a
% bzr status --short
bzr: ERROR: invalid file kind None

I *think* this should be a "+D" which is "added in the current inventory
relative to the basis, but not actually present on disk".

John
=:->



More information about the bazaar mailing list