[merge] Make "bzr info" terse by default

Martin Pool mbp at sourcefrog.net
Fri May 18 15:37:43 BST 2007


On 5/18/07, Aaron Bentley <aaron.bentley at utoronto.ca> wrote:
> Hi all,
>
> This patch makes "bzr info" terse.  It also speeds it up, because by
> default it doesn't include data which takes a long time to calculate.

That sounds good.

>
> Example output:
> $ ./bzr info
> Lightweight checkout (format: dirstate / dirstate-tags)

Explaining the formats in terms of something people can pass to
--format is much better I think, but giving two is a bit confusing.
Maybe it would be enough to say "dirstate or dirstate-tags."

> Location:
>  light checkout root: file:///home/abentley/bzr/terse-info/
>    shared repository: file:///home/abentley/bzrrepo/
>    repository branch: terse-info
>
> On the first line, we try to briefly describe what the object is--
> lightweight checkout, shared repository, etc.
>
> This is followed by the short name of the format that they are in.
> Where the format is ambiguous, several formats are listed.

This format is good; it could be better if it helped the user
understand the relationship of the objects, like

  light checkout: ..............
  from branch .............
  in repository ..................

> All of the lines formerly displayed by info (especially the stuff that
> takes a long time), is displayed by "bzr info -v".  This includes the
> number of committers, which was formerly only displayed when "info -v"
> was used.

Sounds good.

-- 
Martin



More information about the bazaar mailing list