Cocoa Geek


Bazaar-GTK

Posted in General Development by andrew on the June 8th, 2008

Further to my last post about GUIS’s for Bazaar, there is a python-gtk GUI called bzr-gtk available which can be installed through macPorts with:

sudo port install bzr-gtk

This command will install all the dependencies into your /opt directory if you haven’t installed much python stuff it will take a while (it did for me!). It is important to note that for my install of macPorts for some reason my terminals $PATH variable wasn’t updated. This is the variable that controls where bash looks when you typse a command into the terminal. If typing sudo port install bzr-gtk gives you an error you can change this yourself by using a text editor to change the .profile text file in your home directory.

Since this is a system file you will probably have to change it via a text editor in the terminal. The line you are interested in is the export path=$PATH line, just change this to export PATH=$PATH:/opt/local/bin/ and you should be good to go.

If this is the first thing you are installing with macPorts this could take some time, for me there was a huge number of dependencies that were installed – remember this isn’t bzr-gtk isn’t a native mac app!

Once its installed correctly you can just go to the directory with your project in and from the terminal type:

olive-gtk

This loads up the interface using the X11 implementation included with OS X, from which you can drop back through revisions, view revision logs, push, pull, update, merge code and commit revisions.  Its even possible to initialize a new Bazaar project on the whole it seems like quite a nice interface to work with for bazaar although and aqua interface would be a whole lot nicer.  I did have some problems with pushing my project to my server and the error message that was returned was suitably useless, however it did make reviewing changes for commits much nicer to view.

I think it would be much nicer if someone did an aqua version of this GUI but it is worth the install if you really need a GUI!

Leave a Reply