bzr branch
http://gegoxaren.bato24.eu/bzr/b-gtk/fix-viz
49
by Jelmer Vernooij
Merge in Dan Loda's gannotate plugin and put it in annotate/ |
1 |
bzr-gtk - GTK+ Frontends to various Bazaar commands
|
2 |
===================================================
|
|
1
by Scott James Remnant
Commit the first version of bzrk. |
3 |
|
49
by Jelmer Vernooij
Merge in Dan Loda's gannotate plugin and put it in annotate/ |
4 |
This is a plugin for bzr that contains various GTK+ frontends to |
5 |
Bazaar commands. It currently contains a tool to see the history |
|
6 |
and relationships between the revisions visually and one to |
|
7 |
view annotated files. |
|
1
by Scott James Remnant
Commit the first version of bzrk. |
8 |
|
9 |
||
10 |
Dependencies
|
|
11 |
------------
|
|
12 |
||
49
by Jelmer Vernooij
Merge in Dan Loda's gannotate plugin and put it in annotate/ |
13 |
bzr-gtk is written in Python, so doesn't need compiling, however you will |
1
by Scott James Remnant
Commit the first version of bzrk. |
14 |
need the following runtime dependencies: |
15 |
||
16 |
* Python 2.4
|
|
194.1.1
by Jelmer Vernooij
Don't mention particular version of Bazaar in README. |
17 |
* Bazaar with the same major version as bzr-gtk
|
1
by Scott James Remnant
Commit the first version of bzrk. |
18 |
* PyGTK 2.8 or later
|
49
by Jelmer Vernooij
Merge in Dan Loda's gannotate plugin and put it in annotate/ |
19 |
|
20 |
In order to see graphs in the visualisation tool, you will also need: |
|
21 |
||
1
by Scott James Remnant
Commit the first version of bzrk. |
22 |
* PyCairo 1.0 or later
|
23 |
||
50
by Jelmer Vernooij
Add note about gtksourceview |
24 |
In order to see syntax highlighted diffs: |
25 |
||
26 |
* gtksourceview python bindings
|
|
1
by Scott James Remnant
Commit the first version of bzrk. |
27 |
|
80
by Jelmer Vernooij
Integrate nautilus-bzr. |
28 |
In order to use the nautilus integration, you will need: |
29 |
||
30 |
* python-nautilus
|
|
31 |
||
85
by Jelmer Vernooij
Merge some files from Olive and bzr-gtk. |
32 |
For Olive on Windows: |
33 |
||
34 |
* pyWin32 (tested with build 209)
|
|
35 |
||
1
by Scott James Remnant
Commit the first version of bzrk. |
36 |
Installation
|
37 |
------------
|
|
38 |
||
49
by Jelmer Vernooij
Merge in Dan Loda's gannotate plugin and put it in annotate/ |
39 |
The easiest way to install bzr-gtk is to either copy or symlink the |
1
by Scott James Remnant
Commit the first version of bzrk. |
40 |
directory into your ~/.bazaar/plugins directory. |
41 |
||
42 |
Other ways include doing the same in the bzrlib/plugins directory of |
|
49
by Jelmer Vernooij
Merge in Dan Loda's gannotate plugin and put it in annotate/ |
43 |
your bzr working tree, or adding the location of bzr-gtk to your |
1
by Scott James Remnant
Commit the first version of bzrk. |
44 |
BZR_PLUGIN_PATH environment variable. |
45 |
||
188.2.2
by Szilveszter Farkas (Phanatic)
Added note about plugin directory name. |
46 |
Note: the plugin directory of bzr-gtk must be called 'gtk'. |
47 |
||
80
by Jelmer Vernooij
Integrate nautilus-bzr. |
48 |
To use the nautilus integration, either place the nautilus-bzr.py file in |
49 |
~/.nautilus/python-extensions or in /usr/lib/nautilus/extensions-1.0/python |
|
50 |
||
49
by Jelmer Vernooij
Merge in Dan Loda's gannotate plugin and put it in annotate/ |
51 |
Usage - Visualisation
|
52 |
---------------------
|
|
1
by Scott James Remnant
Commit the first version of bzrk. |
53 |
|
40
by David Allouche
remove --robust, pyflakes fixes, update README |
54 |
Simply run "bzr visualise" (or "bzr viz") while in a bzr working tree or |
55 |
branch, a window will appear with the history of the branch and a graph |
|
1
by Scott James Remnant
Commit the first version of bzrk. |
56 |
connecting the individual revisions. |
57 |
||
12
by Scott James Remnant
Update the docs |
58 |
You can move through the revision history by clicking or with the arrow |
59 |
keys. You can also use the Back (shortcut '[') and Forward (shortcut ']') |
|
60 |
buttons which move to the previous and next revision from that selected |
|
61 |
(which may not be immediately adjacent in the list). |
|
62 |
||
63 |
Details for the selected revision are shown in the pane at the bottom, |
|
64 |
including the ids of the parent revisions. Clicking on the go icon next |
|
65 |
to a parent moves the list to that revision; clicking on the view icon |
|
66 |
opens a window to display the difference between the two revisions. |
|
49
by Jelmer Vernooij
Merge in Dan Loda's gannotate plugin and put it in annotate/ |
67 |
|
68 |
Usage - annotate
|
|
69 |
----------------
|
|
70 |
||
71 |
Simply run "bzr gannotate FILENAME" while in a bzr working tree or branch. |
|
72 |
||
73 |
The commit log message is shown in the lower window pane for the selected |
|
74 |
line. The line number column is searchable; jump to a specific line by typing |
|
75 |
the line number while the annotation pane is in focus. Control-f will also |
|
76 |
initiate a search. |
|
77 |
||
78 |
By default, lines are highlighted according to age. This functionality is a |
|
79 |
crib of emacs' VC-annotate highlighting, and thus works similarly: blue is |
|
80 |
oldest and red is youngest, and an assortment of other colors in-between: |
|
81 |
||
82 |
blue --> green --> yellow --> orange --> red |
|
83 |
||
84 |
Time spans are scaled; for instance by selecting "1 Day", lines older than a |
|
85 |
day will be highlighted blue, but changes in the past hour will be red and |
|
86 |
lines 2 hours old may be orange. Highlighting can be turned off with --plain |
|
87 |
if overwhelming. |
|
85
by Jelmer Vernooij
Merge some files from Olive and bzr-gtk. |
88 |
|
89 |
Install on Windows
|
|
90 |
------------------
|
|
91 |
||
92 |
You can download the dependencies from the following locations: |
|
93 |
||
94 |
- Python: http://www.python.org/download/releases/2.4.3/
|
|
95 |
- GTK: http://gladewin32.sourceforge.net/
|
|
165
by Jelmer Vernooij
Fix PyGTK URL. |
96 |
- PyGTK: http://www.mapr.ucl.ac.be/~gustin/win32_ports (pygtk, pygobject and pycairo)
|
85
by Jelmer Vernooij
Merge some files from Olive and bzr-gtk. |
97 |
- Bazaar: http://bazaar-vcs.org/WindowsDownloads (Python-based should be okay)
|
98 |
- pyWin32: http://sourceforge.net/project/showfiles.php?group_id=78018
|
|
99 |
||
100 |
As an Administrator, you can install Olive with the standard command: |
|
101 |
||
102 |
> c:\Python24\python.exe setup.py install |
|
103 |
||
104 |
You can run Olive with this command: |
|
105 |
||
106 |
> c:\Python24\python.exe c:\Python\Scripts\olive-gtk |
|
107 |
||
108 |