Nested Trees

Alexander Belchenko bialix at ukr.net
Tue Jan 5 11:22:06 GMT 2010


A. S. Budden пишет:
> 2010/1/5 Alexander Belchenko <bialix at ukr.net>:
>> A. S. Budden пишет:
>>> 2010/1/5 John Szakmeister <john at szakmeister.net>:
>>>> On Tue, Jan 5, 2010 at 3:36 AM, Martin Guillon <MGuillon at movea.com>
>>>> wrote:
>>>>> That s a good news to hear it s planned. I looked at the plugin, it
>>>>> seems fine but it s a plugin...
>>>>> I mean wouldn’t  it mean that all developers have to install it? (not
>>>>> good at all for the admin)
>>>> Individuals can install it in their .bazaar/plugins folder.  I forget
>>>> the Windows location, but there is some equivalent for that.  No need
>>>> for admin privileges (although company policy might prevent you from
>>>> doing this).
>>> On Windows, it's the rather long-winded
>>>
>>>    C:\Documents and Settings\USERNAME\Application Data\bazaar\2.0\plugins
>>>
>>> I've thought a couple of times that it might be really useful to allow
>>> BZR_PLUGINS_PATH to contain semicolons (on Windows) or colons (on
>>> Linux) separating multiple paths.
>> This is already supported. Why do you think it's not?
>>
>>    env_paths = os.environ.get('BZR_PLUGIN_PATH', '+user').split(os.pathsep)
> 
> Ah!  I feel very stupid now... the reason I thought it wasn't
> supported was because I tried it and it didn't work.  As a stab in the
> dark, I'd guess that I used a semicolon with the cygwin version or a
> colon with the Windows version or something.  D'Oh.
> 
> No, I'm wrong... I just looked back through my bash history (it wasn't
> that long ago) and I set BZR_PLUGINS_PATH as the path I wanted to add,

Please, note that env variable actually named BZR_PLUGIN_PATH not 
BZR_PLUGINS_PATH (singular vs plural).


> rather than the full list of paths.  I guess I'd hoped at the time
> that it would keep scanning the standard plugins path but add the new
> one to the front of the list (so that I didn't need to remember the
> C:\Documents and Settings\blah\blah\blah thing).  My mistake.
> 
> Sorry!
> 
> Al
> 
> 




More information about the bazaar mailing list