1
How to install bzrtools
3
An easier install method will come. For now...
5
baz2bzr works with the standard bzr tree.
7
If you don't want to use baz2bzr, you can skip to step 3
9
1. If you want to use baz2bzr, stick a pybaz symlink in the bzrtools tree:
1
How to install bzrtools:
2
All the tools are plugins, so you can install them in your plugins directory.
3
IT IS IMPORTANT TO MOVE/COPY THE BZRTOOLS DIRECTORY, NOT ITS CONTENTS.
5
$ mv ~/bzrtools ~/.bazaar/plugins/
6
You may have to create the plugins directory first.
8
Alternatively, you can install them at the system-wide plugin location:
9
$ sudo python2.4 setup.py install
11
You can test whether they are successfully installed by doing
14
Optional Dependencies:
16
diff - used by shelve and unshelve
17
patch - used by shelve, unshelve and patch
18
baz and pybaz - used by baz-import
19
testresources - used by the baz-import test suite
22
If you want to use baz-import, stick a pybaz symlink in the bzrtools tree:
10
23
$ baz register-archive http://ddaa.net/arch/2004
11
24
$ baz get ddaa@ddaa.net--2004/pybaz--devo--0 pybaz
25
$ cd ~/bzrbzrtools/external
13
26
$ ln -s ../pybaz/pybaz
15
2. In the bzrtools directory, create a symlink to the bzrlib directory
16
(e.g. ln -s ../bzr.dev/bzrlib)
28
If you want to test your install:
29
/path/to/bzrtools/test.py [/path/to/bzr]
18
3. Create a symlink to the scripts in your path
19
(e.g. cd ~/bin; ln -s ~/bzrtools/bzr-pull)
31
To perform a complete baz-import test, you'll also need testresources:
32
$ cd ~/bzrtools/external
33
$ bzr get http://www.robertcollins.net/unittest/testresources/