[rfc] help on formats should indicate default

Aaron Bentley aaron.bentley at utoronto.ca
Mon Feb 12 19:40:24 GMT 2007


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

John Arbash Meinel wrote:
> Aaron Bentley wrote:
> 
>>>John Arbash Meinel wrote:

>>>>>Do we actually need --log-format to have a per-branch default? I can see
>>>>>maybe having a global default.
>>>
>>>My guess is no.

(no, we don't actually need --log-format to have a per-branch default)

>>>>>Then again, I'd be okay with just having default be the normal default,
>>>>>and if someone has gone to the effort of configuring a different log
>>>>>formatter for their branch, I'll let them figure out why default isn't
>>>>>the standard default.
>>>
>>>I would prefer to show the actual default, because the user may not have
>>>configured it themself.  But it's not a strong preference.

> 
> Well, it seems that would be that "bzr help log" would have to try and
> figure out what current directory it was in, and grab the Branch, and
> then Branch.get_config()... its quite a bit of work.

What I meant was that I would prefer to reduce the default to a global
option, and then display it correctly.

> So I think showing what the global default is, rather than trying to
> figure out the current state is a lot more reasonable.

I think we're in violent agreement.

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

iD8DBQFF0MKo0F+nu1YWqI0RAmcsAJ4kSy0vJjGLI0cvPuGbNB6AkYNw6wCeM8PG
rQtc2Jlck6YUaU07z+Vg4T0=
=7qaU
-----END PGP SIGNATURE-----



More information about the bazaar mailing list