~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to INSTALL

  • Committer: Michael Ellerman
  • Date: 2005-11-29 07:12:26 UTC
  • mto: (0.3.1 shelf-dev) (325.1.2 bzrtools)
  • mto: This revision was merged to the branch mainline in revision 334.
  • Revision ID: michael@ellerman.id.au-20051129071226-a04b3f827880025d
Unshelve --pick was broken, because we deleted the whole patch, even when only
part of it was unshelved. So now if we unshelve part of a patch, the patch is
replaced with a new patch that has just the unshelved parts. That's a long way
of saying it does what you'd expect.

Implementing this required changing HunkSelector to return both the selected,
and unselected hunks (ie. patches to shelve, and patches to keep).

Show diffs side-by-side

added added

removed removed

Lines of Context:
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.
4
 
 
5
 
$ mv ~/bzrtools ~/.bazaar/plugins/
6
 
You may have to create the plugins directory first.
7
 
 
8
 
Alternatively, you can install them at the system-wide plugin location:
9
 
$ sudo python2.4 setup.py install
10
 
 
11
 
You can test whether they are successfully installed by doing 
12
 
"bzr clean-tree -h"
13
 
 
14
 
Optional Dependencies:
15
 
rsync          - used by rspush
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
20
 
 
21
 
Getting 
22
 
If you want to use baz-import, stick a pybaz symlink in the bzrtools tree:
23
 
$ baz register-archive http://ddaa.net/arch/2004
24
 
$ baz get ddaa@ddaa.net--2004/pybaz--devo--0 pybaz
25
 
$ cd ~/bzrbzrtools/external
26
 
$ ln -s ../pybaz/pybaz
27
 
 
28
 
If you want to test your install:
29
 
/path/to/bzrtools/test.py [/path/to/bzr]
30
 
 
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/