Bug: bzr log --long --short --line

Wouter van Heyst larstiq at larstiq.dyndns.org
Sat Feb 11 19:59:24 GMT 2006


On Sat, Feb 11, 2006 at 08:19:46PM +0100, Denys Duchier wrote:
> John A Meinel <john at arbash-meinel.com> writes:
> 
> > We should switch to optparse and use:
> >
> > p.add_option('--line', dest='log_format', action='store_const',
> > 	const='line', help='display the log message on a single line')
> 
> exactly what I was thinking.
> 
> > I'm starting to agree with Denys that we should switch to optparse with
> > double parsing the line. And just require that "--no-plugins" and
> > "--builtins" come before the command, since they effect what commands
> > will be available.
> 
> if this gets a general ok, then I'd be happy to pick up the work I started in
> that direction.

I think optparse will make it easier to do 'bzr export -', which
currently blows up because commands.py thinks - is the start of an
option. Optparse looks good from other threads, so moving ahead seems
good to me.

Wouter van Heyst




More information about the bazaar mailing list