[rfc] help on formats should indicate default

Aaron Bentley aaron.bentley at utoronto.ca
Mon Feb 12 19:29:47 GMT 2007


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

John Arbash Meinel wrote:

> Would it be reasonable to at least tell the Registry what the default
> is, and then the help formatter can use that as a hint?

I think so.  Would we ever want to vary the default by command?  (In
that case, it would go in the RegistryOption, instead.

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

My guess is no.  My only counter-example is if a project has a special
changelog format that they always use.  But even so, aliases...

> 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.

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

iD8DBQFF0MAr0F+nu1YWqI0RAjCKAJ9yUsFhUn4P08ERyr6euvffu+FouQCdFAcn
egq6T80uFiNYm4IQpfXfxcI=
=6pfb
-----END PGP SIGNATURE-----



More information about the bazaar mailing list