"bzr shell" completer from bzrtools now usable in ipython.

Ville M. Vainio vivainio at gmail.com
Wed Mar 19 22:15:17 GMT 2008


On Wed, Mar 19, 2008 at 11:44 PM, John Arbash Meinel
<john at arbash-meinel.com> wrote:

>  | BTW, can anyone quickly say why bzr <tab> does not show commands from
>  | my plugins?
>  |
>  | The code is here:
>  |
>  | http://tinyurl.com/3728rw
>  |
>
>  Is that the standard bash shell complete, or the bzr shell plugin?

I grabbed the bzr shell plugin code (for 1,2) and added it to the
ipython extension ipy_bzr.

>  Though if it was using "bzrlib.commands.get_all_cmds()" then it would get both.

The source code calls get_all_cmds().

I think the problem may be that bzrlib does not look for my plugins in:

C:\Users\ville\AppData\Roaming\bazaar\2.0\plugins

I have installed both the standalone and python-based bzr;
python-based for bzrlib, and the standalone to actually be able to
push stuff to launchpad (complaints about BZR_SSH, I'm using pageant).

-- 
Ville M. Vainio - vivainio.googlepages.com
blog=360.yahoo.com/villevainio - g[mail | talk]='vivainio'



More information about the bazaar mailing list