1
對於新手來說,可以安裝bzr插件push-and-update所需的步驟並不清楚。如何安裝bzr插件?
該插件被描述here in the bzr documentation,且有另一documentation page that explains how to install plugins
但沒有明確的指導安裝。
對於新手來說,可以安裝bzr插件push-and-update所需的步驟並不清楚。如何安裝bzr插件?
該插件被描述here in the bzr documentation,且有另一documentation page that explains how to install plugins
但沒有明確的指導安裝。
找到插件目錄
python
>>> from bzrlib import plugin
>>> list_of_bzr_plugin_paths = [os.path.abspath(p)
... for p in plugin.get_standard_plugins_path()]
的庫(在Ubuntu)是:
$HOME/.bazaar/plugins'
/usr/lib/python2.7/dist-packages/bzrlib/plugins'
*從啓動板
bzr branch lp:bzr-push-and-update
從啓動板安裝,重命名目錄,以避免錯誤。
bzr branch lp:bzr-push-and-update ~/.bazaar/plugins/push_and_update
''bzr version''會告訴你Bazaar配置的位置,特定於用戶的插件位於那裏的''plugins''目錄下。 – jelmer 2012-07-13 14:43:13
你移除先前的嘗試? – AmanicA 2012-07-12 17:38:52
@AmanicA否 - 刪除我的主目錄中的版本似乎已經解決了這個問題。 – Abe 2012-07-12 18:59:38