RFC: Changing 'bzr info' to only display URL locations

Aaron Bentley aaron.bentley at utoronto.ca
Sat Mar 17 18:09:19 GMT 2007


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

Jari Aalto wrote:

> Make default "bzr info" just to display the URL information. The added
> "-v" option would list all the nitty-gritty details (meta format and
> all that).

I would like something like this:

$ bzr info
standalone tree (format: knit)
location: /home/abentley/bzr/bzr.ab/
  parent: http://panoramicfeedback.com/opensource/bzr/repo/bzr.ab/
 push to: sftp://aaronbentley.com/home/abentley/code/bzr/bzrrepo/bzr.ab
  submit: /home/abentley/bzrrepo/others/bzr.dev
  public: http://code.aaronbentley.com/bzr/bzrrepo/bzr.ab

Or, for a lightweight checkout in dirstate-tags format:
lightweight checkout (format: dirstate-tags)
location: /home/abentley/bzr/bzr.ab/
  branch: /home/abentley/bzrrepo/bzr.ab/
 push to: sftp://aaronbentley.com/home/abentley/code/bzr/bzrrepo/bzr.ab
  submit: /home/abentley/bzrrepo/others/bzr.dev
  public: http://code.aaronbentley.com/bzr/bzrrepo/bzr.ab

So I would want to
- - decode the configuration of checkout/branch/repo into a name such as:
  - lightweight checkout
  - heavyweight checkout
  - standalone tree
  - repository tree
  - standalone branch
  - repository branch
  - repository

- - decode the formats into one of our short format identifiers, e.g.
  - knit
  - dirstate
  - metaweave

etc.

The bzrtools show-paths plugin takes us partway there, but I think we
really should have something like this in the core.

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

iD8DBQFF/C7O0F+nu1YWqI0RAvQIAJ4nwhjGE8csyJBwiCO700MUHjJBmwCfbQTh
yNohe0gRFY/L/w8c8B2qtVk=
=kULh
-----END PGP SIGNATURE-----



More information about the bazaar mailing list