Log of a directory

Nicholas Allen allen at ableton.com
Tue Nov 28 17:03:18 GMT 2006


> having 'bzr log dir' be recursive is something that we have already
> discussed and generally approved. To do it efficiently probably requires
> some format changes. Right now we only cache when the directory itself
> changes, but we want to cache the recursive set of changes. (We want
> that anyway for other performance implications).
>
> Changing the caching is something that is on my plate to work on, so
> hopefully I can get to that soon, which would allow stuff like 'bzr log
> dir' to be implemented properly and efficiently.
>
> John
> =:->
Cool ;-)

Just another thought - it could also be nice that you could ask for just 
the changes to the directory itself and not its contents which would be 
the same as the current behavior I guess. So for a directory it would be 
nice if there were 3 different log options that could be specified:

    - Directory and contents recursively
    - Directory and its contents (but not contents of sub-directories - 
ie non-recursive)
    - Just the directory and not its contents at all.

I would guess a sensible default is the first one. Having all 3 would 
make everyone happy - but not sure how you would specify these modes on 
the command line and if it is really worth implementing the last one 
anyway....

Nick




More information about the bazaar mailing list