Muffinresearch Labs by Stuart Colville

Bazaar 1.0 released | 5 Comments

Posted in Code, Software on 17th December 2007, 11:10 am by

Fantastic news that Bazaar has reached version 1.0. This is thanks to a lot of hard work by some very talented people and I’m pleased to note that it looks like case sensitivity issues have been addressed.

Amongst the changes are improved documentation. Docs are something that are often overlooked but the recent improvements to the documentation over the last few months are really noticeable. Pack 0.92 repository format is now the default. This format is safer, more robust and faster. The good news is that existing branches can be easily upgraded to the new format by running a couple of commands. bzr reconcile and then bzr upgrade. See the full release notes for more info.

If you haven’t looked at Bazaar yet, and are still suffering working with SVN or CVS, be sure to download it from bazaar-vcs.org and and take it for a spin. There’s no substitute for trying it out firsthand.

Post Tools

  • http://www.kryogenix.org/ Stuart Langridge

    From your perspective, what’s the advantage in using bzr rather than svn? People keep saying “it’s better”, but because I haven’t tried it much I haven’t formed an opinion; what do you think is better about it? I already have a public svn server, so I don’t have to suffer the pain of setting that up.

  • http://muffinresearch.co.uk Stuart Colville

    @sil: For me the main points are:

    Superior branching and merging – De-centralisation means that branching and merging have to be really first-clas. If say you have some code I will branch it, hack on it and then make it available for you to merge. If merging wasn’t capable then the whole thing would be capable. Also not needing the central server makes the whole process much more straight-forward especially as you wouldn’t need to give me commit rights on your server for example.

    Renaming is not just an alias for remove and add. Renames are tracked so that subsequent merges involving files that have been renamed are seamless. As I understand it this functionality will be added to SVN in 1.5

    Using it anywhere is easy as it’s all just files. I can create a repo really easily and shove it up on a webserver to make that branch available to anyone. I can install bazaar on a webserver and version /etc for example to track configurations.

    The flexibility it gives means you can pretty much adapt it to any situation/dev environment which provides a neat way of side-stepping environment limitations.

    Lastly as it’s written in Python it’s so readily pluggable. Though SVN’s maturity means that the language bindings do give similar levels of extensibility and beyond.

    John Arbash Meinel has written a nice comparison that certainly comes across as objective even though he’s heavily involved in working with Bazaar http://jam-bazaar.blogspot.com/2007/10/bazaar-vs-subversion.html

  • http://mattwilcox.net Matt Wilcox

    Is there a GUI. That is my number one reason for using SVN – I can use Tortoise. I’m a web designer, not a programmer – I want GUI, not CLI.

  • http://muffinresearch.co.uk Stuart Colville

    @Matt: That’s fair enough however there’s also TortoiseBzr

  • http://mattwilcox.net Matt Wilcox

    Ah, brilliant! A little bit beta at the moment, but this is exactly the sort of tool that I would need.

    Thanks Stuart, I’ll be keeping my eye on this.

Insert a tab character in vim when expand tabs is on|(0)

I have vim set-up to use spaces in place of tabs. Sometimes you need to use an actual tab e.g. editing a Makefile. Now whilst it’s possible to change settings so that tabs are used for specific files, a quick tip to remember is to simply type in insert mode:

Ctrl+v tab

That is Ctrl and “V” and hit the tab key, et voila you’ve entered an actual tab.

GNU screen: open tab in current working directory|(1)

A nice trick for having screen open a new tab in the same directory as the one you’re currently in. To use it add it to your .screenrc

# Open new window in current dir.
bind c stuff "screen -X chdir \$PWD;screen^M"
bind ^c stuff "screen -X chdir \$PWD;screen^M"

Hat tip: mteckert on SuperUser.com

Photos on Flickr

© Copyright 2004-13 Stuart Colville, all rights reserved. May contain traces of Muffin. Powered by WordPress. Hosting by Slicehost.com This page was baked in 0.494s.