command that batches bzr and qbzr commands

Michael Gliwinski Michael.Gliwinski at henderson-group.com
Mon Jul 26 16:40:39 BST 2010


Hi all,

Is there an easy way to "batch" several other bzr or qbzr commands within a 
plugin command?

Basically an example of what I'm trying to do is write a command which 
downloads some files, imports them (like bzrtools' import) and then launches a 
qcommit dialog pre-filled with certain message and author, etc.

We use this to support ongoing development while the applications are being 
migrated to bzr (from just unversioned code running on the servers).

The question of batching commands though is something I've been meaning to ask 
regardless.  Basically sometimes you don't need to dive into lower-level APIs 
when all you need is to batch functionality already encapsulated in CLI cmd_ 
classes.  But basically is OK to run commands in cmd_ classes from another 
cmd_ class?

Thanks,
Michael


-- 
Michael Gliwinski
Henderson Group Information Services
9-11 Hightown Avenue, Newtownabby, BT36 4RT
Phone: 028 9034 3319

**********************************************************************************************
The information in this email is confidential and may be legally privileged.  It is intended solely for the addressee and access to the email by anyone else is unauthorised.
If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful.
When addressed to our clients, any opinions or advice contained in this e-mail are subject to the terms and conditions expressed  in the governing client engagement leter or contract.
If you have received this email in error please notify support at henderson-group.com

John Henderson (Holdings) Ltd
Registered office: 9 Hightown Avenue, Mallusk, County Antrim, Northern Ireland, BT36 4RT.
Registered in Northern Ireland
Registration Number NI010588
Vat No.: 814 6399 12
*********************************************************************************




More information about the bazaar mailing list