[merge] Make "bzr info" terse by default

Aaron Bentley aaron.bentley at utoronto.ca
Fri May 18 13:29:50 BST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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.

Example output:
$ ./bzr info
Lightweight checkout (format: dirstate / 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.

Hidden formats are not listed, unless they are the only candidate.

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.

Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGTZwm0F+nu1YWqI0RAixPAJ9vT1Xe1F0kvHo7Jn1q0VuTa+vKVwCeIU6W
MYDJgO4BJ1OldTrImwa3HJs=
=SXEu
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: terse-info.patch
Type: text/x-patch
Size: 274643 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20070518/2bf7c8ba/attachment-0001.bin 


More information about the bazaar mailing list