RFC: bzr info layout comments

Martin Pool mbp at canonical.com
Thu Dec 21 06:02:03 GMT 2006


On 18 Nov 2006, Jari Aalto <jari.aalto at cante.net> wrote:
> 
> "bzr info" currently displays:
> 
>     Location:
>      light checkout root: file:///usr/share/emacs/site-lisp/
>       checkout of branch: file:///root/var/work/site-lisp/
> 
>     Related branches:
>       parent branch: file:///usr/share/emacs/site-lisp/
> 
>     Format:
>            control: Meta directory format 1
>       working tree: Working tree format 3
>             branch: Branch format 5
>         repository: Knit repository format 1
> 
>         ...
> 
> Personally I find this listing difficult to read, because the lines are
> not started "left to right", but are rugged. Would it be possible to
> to consider left-sticky layout, something like:
> 
>     Location:
>       light checkout root: file:///usr/share/emacs/site-lisp/
>       checkout of branch : file:///root/var/work/site-lisp/
> 
>     Related branches:
>       parent branch      : file:///usr/share/emacs/site-lisp/
> 
>     Format:
>       control            : Meta directory format 1
>       working tree       : Working tree format 3
>       branch             : Branch format 5
>       repository         : Knit repository format 1
>     | |                    |
>     | |                    Same column
>     | Same column
>     Same column
> 
> The colon is important to keel for backends that interpret this information.

That would be ok with me.  While you're there it would be good to allow
optional display of information like the repo size and wt state that is
expensive to calculate.

-- 
Martin




More information about the bazaar mailing list