[MERGE] Support for lazy registation of commands
Robert Collins
robertc at robertcollins.net
Sun Aug 24 10:33:58 BST 2008
On Sun, 2008-08-24 at 11:10 +0200, Lukáš Lalinský wrote:
>
> Sorry, I have no interest in rewriting all the command handling code.
> I
> wrote this for qbzr, which means it had to work with the current
> bzrlib.command code. I just thought it would be useful for other
> plugins, so I submitted a patch using the same approach as qbzr.
You should not need to rewrite 'all the command handling code'. It
should be roughly trivial to use a subclass of _LazyObjectGetter to do
exactly what you did but without the duplication of code.
-Rob
--
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20080824/fa75305c/attachment.pgp
More information about the bazaar
mailing list