[MERGE] Tweak log -n UI to support +/- as fully expanded/collapsed

Andrew Bennetts andrew.bennetts at canonical.com
Fri Jan 30 10:52:56 GMT 2009


Ian Clatworthy wrote:
> Vincent Ladeuil wrote:
> >>>>>> "Ian" == Ian Clatworthy <ian.clatworthy at internode.on.net> writes:
> > 
> >     Ian> As the most common use cases for log's new -n option are:
> >     Ian> * show me all levels of nested revisions
> >     Ian> * show me just the top level
> > 
> >     Ian> I think it's worth having the + and - symbols as aliases
> >     Ian> for 0 and 1 respectively.
> > 
> > Can you elaborate on that ?
> 
> I think -n1 reads nicely but -n0 feels slightly strange.
> I thought about -n* but adding a space (-n *) would cause
> chaos in most shells. + and - are often (or were often) used
> in GUI tree widgets to represent expand/collapse.

FWIW, -n0 doesn't feel particularly strange to me.  -n+ is definitely
stranger :)

-Andrew.



More information about the bazaar mailing list