how to install a bzr plugin?

395 views Asked by At

For a novice, the steps required to can install the bzr plugin push-and-update are not clear.

The plugin is described here in the bzr documentation, and there is another documentation page that explains how to install plugins

But there is no clear guide to installation.

1

There are 1 answers

1
Abe On BEST ANSWER
  • find the plugin directory

    python
    >>> from bzrlib import plugin
    >>> list_of_bzr_plugin_paths = [os.path.abspath(p)
    ... for p in plugin.get_standard_plugins_path()]
    

    The libraries (on ubuntu) are:

    • $HOME/.bazaar/plugins'
    • /usr/lib/python2.7/dist-packages/bzrlib/plugins'

* Install from launchpad

    bzr branch lp:bzr-push-and-update 

  • Install from launchpad, renaming the directory to avoid errors.

    bzr branch lp:bzr-push-and-update ~/.bazaar/plugins/push_and_update