[bug 0.11] bzr ci -m allow no message to be specified

James Westby jw+debian at jameswestby.net
Fri Nov 24 18:20:00 GMT 2006


On (24/11/06 07:09), Jari Aalto wrote:
> Martin Pool <mbp at canonical.com> writes:
> > On the other hand, unlike svn, we have an easy and effective uncommit
> > command, so perhaps this should just give a warning and proceed.
> 
> Not a good idea. In scripts this will go unnoticed. An error is
> better.
> 

You seem very keen on scripting bzr, and while that could be supported I
don't see why this case matters to you too much, a script isn't really
going to accidentally forget to pass the argument is it?

And anyway, 

  [ -z $msg ] || bzr ci -m $msg $file

works doesn't it?

James

-- 
  James Westby   --    GPG Key ID: B577FE13    --     http://jameswestby.net/
  seccure key - (3+)k7|M*edCX/.A:n*N!>|&7U.L#9E)Tu)T0>AM - secp256r1/nistp256





More information about the bazaar mailing list