non-recursive status of a directory?

Mark Hammond mhammond at skippinet.com.au
Fri Jun 6 01:23:12 BST 2008


> What will happen with renames ? specifically given:
> root/left/
> root/right/
> root/right/was-in-left/
> root/right/was-in-left/child
> 
> the status on left is not completed until right has been scanned (and
> such scanning is triggered by bzr recursing from left's record to
> right/was-in-left.
> 
> or are you planning to stop at the first sign of a modification?

Moves are tricky.  We are severly constrained by how much information we can convey using simple icon overlays.  So its probably helpful to think of this as a kind of "UI State", rather than the true "BZR Status" of an item.  In other words, the question here is more "what icon will we show in the case of a move" rather than "what is the true status after a move".  I expect that the tortoise menus would include a command that shows the "true" status of a directory tree in a dialog, and that command would just use bzrlib directly and allow it to recurse.

So to answer your question, I think that TBZR would probably show the 'left', 'right' and 'was-in-left' directories as modified, and 'child' as 'added (or ideally, we could have a new overlay specifically indicating "new file as result of move".)  Does that sound appropriate?  What icons would you expect to see in the above example?

Cheers,

Mark




More information about the bazaar mailing list