Setting Up Bazaar
The following instructions are for setting up Bzr in an isolated environment. This should work on Linux/MacOSX/Windows.
Installing Virtualenv
- Download virtualenv from PyPi (http://pypi.python.org/pypi/virtualenv)
- Extract virtualenv tarball into some directory (for example, $HOME/virtualenv-1.3.2)
At this point isolated Python environments can be setup as needed.
Installing Latest Bzr
- Create a new virtualenv: $ python $HOME/virtualenv-1.3.2/virtualenv.py bzr
- Go into the bzr virtualenv dir and install bzr into the new virtualenv: bin/easy_install bzr
The latest bzr (as of this writing it would be 1.13rc1) can now be run by executing the bzr executable from from $HOME/bzr/bin
Installing Bzr-SVN
- Go into the bzr dir and install subvertpy through PyPi: bin/easy_install subvertpy
- Download latest bzr-svn from http://bazaar-vcs.org/BzrForeignBranches/Subversion (make sure the version of bzr-svn supports the version of bzr that was installed)
- Extract the bzr-svn tarball some place (ie $HOME/bzr-svn-0.5.3)
- Go into the bzr-svn dir and run: $HOME/bzr/bin/python setup.py install
Now Bzr with the svn plugin are installed inside of $HOME/bzr. You can test out your svn checkout by doing:
$ $HOME/bzr/bin/bzr branch http://modwsgi.googlecode.com/svn/trunk/ modwsgi-trunk