Archive for December, 2009

Martin Pool

spilled ink

Bryce writes:

When Inkscape moved to Launchpad, the Bazaar team asked if Inkscape would be adopting bzr as well.

With the Inkscape 0.47 release out, and following a rather lengthy series of debates on git vs. bzr vs svn, we have switched to Bazaar. Thanks go to Ted Gould for doing all the heavy lifting in shifting things over (and winning many hearts and minds).

From the Inkscape 0.47 release manager just now:

<ScislaC> I LOVE bazaar! 😀

Finally a vcs I can use via command line in a way that makes sense to me and I don’t feel like I’ll accidentally make a bad commit.

Ian Clatworthy

Contributing to Free Software Projects Made Easy

One of the primary reasons why Bazaar exists is that Canonical wants to make it as easy as possible for more people to contribute to FOSS (Free and Open Source Software) projects. After many years of development, the pieces of the puzzle are really falling into place nicely. See the tutorial I put together last week to see just how easy it can be.


Selecting file encoding in QBzr

Naoki INADA recently provided nice patch for QBzr which added handy encoding selector to QBzr windows where content of user files is shown, including diff viewer (qdiff command), annotation viewer (qannotate command) and file content viewer (qcat and  qviewer commands). This feature is in the trunk now and will be released with QBzr 0.17.

This is very useful feature for all who works with non-ascii documents. By default QBzr assumes that encoding of your document is UTF-8, and this is safe default for Linux users. Unfortunately on Windows documents typically created in ANSI encoding (e.g. CP1251 for Russian, CP1252 for Western Europe, and so on). So having the way to specify encoding to see your actual text instead of $%^&#@&* garbage is very important.

So now you can control the encoding not only from command-line (option --encoding) but from GUI as well. Encoding selector(s) available at the bottom of dialogs as combobox. Such encoding selector is very important for users of TortoiseBzr and Bazaar-Explorer, because they’re using QBzr dialogs from corresponding GUI applications.

Diff viewer:

qdiff window with encoding selector at bottom


qannotate window with encoding selector

Selected encoding is remembered and saved in branch configuration file branch.conf as encoding = xxx.

Hint: if you most of the time working with files of one encoding, you can put the encoding setting in main configuration file bazaar.conf:

email = Joe Random <>
encoding = cp1251

And this settings will be used by default for all branches where no encoding specified in command-line or branch.conf.

Martin Pool

Bazaar System Administrator's Guide

Neil started on a System Administrator’s Guide for Bazaar. The current text is here and it’s in the lp:~nmb/bzr/admin-guide branch.