[bug 0.11] bzr ci -m allow no message to be specified
Jari Aalto
jari.aalto at cante.net
Thu Nov 23 11:53:04 GMT 2006
Aaron Bentley <aaron.bentley at utoronto.ca> writes:
> Jari Aalto wrote:
> > Under 0.11, this is possible
> >
> > $ bzr ci -m file.txt
> > added file.txt
> > Committed revision 1.
> >
> > But this should really give error, because the message is not
> > specified. It's easy to leave out the string by accident. Please test
> > if this happens in 0.12 as well
>
> It can happen under any release. Your command there is "commit all
> files, with the message 'file.txt'", and I doubt that there's an
> automatic way to detect that this is not what you meant.
Oh, then make this alwasy require argument (like "."), so that this mistake
does not happen by accident:
$ bzr ci -m file.txt
Syntax error, needs file or directory "." to commit all
Jari
More information about the bazaar
mailing list