How can I disable a site-wide plugin?

Asked by Jesse

I am using bzr on a linux server running Hardy LTS. The system is preloaded with bzr that comes with Hardy. I downloaded and installed my own copy of bzr into my home dir and it mostly works fine. However when I wanted to test subvertpy and bzr-svn with "bzr selftest svn", the site-wide gtk plugin gets involved. Since it's apparently out of sync with my version, it fails the test.
I do not have administrative privilege on the system so my question is: is there a way for me to instruct bzr to disable a certain plugin?
thanks

Question information

Language:
English Edit question
Status:
Solved
For:
Bazaar Edit question
Assignee:
No assignee Edit question
Solved by:
Martin Pool
Solved:
Last query:
Last reply:
Revision history for this message
Best Martin Pool (mbp) said :
#1

2009/7/8 Jesse <email address hidden>:
> New question #76360 on Bazaar:
> https://answers.launchpad.net/bzr/+question/76360
>
> I am using bzr on a linux server running Hardy LTS. The system is preloaded with bzr that comes with Hardy. I downloaded and installed my own copy of bzr into my home dir and it mostly works fine. However when I wanted to test subvertpy and bzr-svn with "bzr selftest svn", the site-wide gtk plugin gets involved. Since it's apparently out of sync with my version, it fails the test.
> I do not have administrative privilege on the system so my question is: is there a way for me to instruct bzr to disable a certain plugin?

In your ~/.bazaar/plugins directory create a file called 'gtk.py'
containing just the word 'pass'.

--
Martin <http://launchpad.net/~mbp/>

Revision history for this message
Jesse (sbjesse) said :
#2

Thanks Martin Pool, that solved my question.

Revision history for this message
Jesse (sbjesse) said :
#3

aha, so bzr is actually loading a module and the "local" version would override the system one?
thanks martin, this solved my problem!