Permalink
Browse files

Tell bazaar to ignore plugins

Without this bzr will faithfully try to handle git/svn checkouts if the
appropriate plugins are installed, which is (a) redundant, (b)
misleading, and (c) very very VERY slow, in case of svn.
  • Loading branch information...
1 parent b8a3cbb commit 80d0430c6181ac817ac3f63fa9fe7d5b42bf801f @mgedmin committed Aug 1, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 bashrc
View
4 bashrc
@@ -162,8 +162,8 @@ __hg_ps1()
# because http://martin-ueding.de/computer_stuff/vcs_prompt/de.html is too long
__bzr_ps1()
{
- if [ -n "$(bzr root 2> /dev/null)" ]; then
- printf -- "$1" "$(bzr nick)"
+ if [ -n "$(bzr --no-plugins root 2> /dev/null)" ]; then
+ printf -- "$1" "$(bzr --no-plugins nick)"
fi
}

0 comments on commit 80d0430

Please sign in to comment.