bazaar locks...

Martin Pool mbp at canonical.com
Thu Sep 9 00:18:49 BST 2010


On 9 September 2010 05:09, Michael Andronov
<michael_andronov at sd-kyber.com> wrote:
> Thanks for a speedy reply.
>
> The 'bzr push ...'  is called from within the bash shell.
> Is there simple way to check the return status of the  'bzr push..'?
> Should I parse err. stream?
> Or should I re-do the whole script and use Python bzrlib to execute
> the above command, and then check for the return?
>
> I'm wondering what is more robust/common/easier?

Uh, it depends a bit on what you're trying to accomplish.  I presume
you want this to run from a noninteractive script?

I'm working on making this automatically prompt the user to break the
lock.  For command-line noninteractive use it would be nice to also
have a config variable that makes it fail immediately rather than
waiting.

-- 
Martin



More information about the bazaar mailing list