<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Fun on Thanos Apollo</title>
    <link>https://thanosapollo.org/tags/fun/</link>
    <description>Recent content in Fun on Thanos Apollo</description>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Tue, 12 May 2026 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://thanosapollo.org/tags/fun/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>The Most Emacs Bzr Saga</title>
      <link>https://thanosapollo.org/posts/bzr-saga/</link>
      <pubDate>Tue, 12 May 2026 00:00:00 +0000</pubDate>
      <guid>https://thanosapollo.org/posts/bzr-saga/</guid>
      <description>&lt;style&gt;
.post-content blockquote {
    font-family: &#39;Iosevka&#39;, monospace;
    font-style: normal;
    font-size: 1.05em;
}
&lt;/style&gt;
&lt;p&gt;Since I had no interesting books to read today, nor interesting films
to watch, I decided to scavenge for the most intriguing content one
can find online.  I ended up reading the Linux kernel mailing lists,
but those discussions seemed to be 18+, so I settled for the
comparatively civil emacs-devel.&lt;/p&gt;
&lt;p&gt;For those unfamiliar, emacs-devel is the primary development
discussion list for GNU Emacs &amp;ndash; where design decisions get made,
patches get reviewed, and occasionally where people spend 200 messages
arguing about version control software.  This is the story of that
last one.&lt;/p&gt;</description>
      <content:encoded><![CDATA[<style>
.post-content blockquote {
    font-family: 'Iosevka', monospace;
    font-style: normal;
    font-size: 1.05em;
}
</style>
<p>Since I had no interesting books to read today, nor interesting films
to watch, I decided to scavenge for the most intriguing content one
can find online.  I ended up reading the Linux kernel mailing lists,
but those discussions seemed to be 18+, so I settled for the
comparatively civil emacs-devel.</p>
<p>For those unfamiliar, emacs-devel is the primary development
discussion list for GNU Emacs &ndash; where design decisions get made,
patches get reviewed, and occasionally where people spend 200 messages
arguing about version control software.  This is the story of that
last one.</p>
<h2 id="2008-this-question-is-over-and-decided">2008: &ldquo;This question is over and decided&rdquo;</h2>
<p>In March 2008, Emacs was migrating from CVS (yes, CVS) to something
more &ldquo;modern&rdquo;. The two contenders were Git and Bazaar.</p>
<ul>
<li>Git, created by Linus Torvalds for the Linux kernel.</li>
<li>Bazaar was a GNU project, <em>maintained by Canonical</em></li>
</ul>
<p>A 236-message thread erupted on emacs-devel.  People benchmarked both
tools.  The results were not subtle.  <a href="https://yhetil.org/emacs-devel/jeprtyalxt.fsf@sykes.suse.de/">Andreas Schwab</a>, one of the core
developers, reported his first impression:</p>
<blockquote>
<p>My first impression is that bzr is slow, so slow that it is completely
unusable.  How can it come that a simple bzr log takes more than a
minute to even start?  Even cvs log is instantaneous in comparison,
although it has to request the log from the server.</p>
</blockquote>
<p>David Kastrup found it equally puzzling:</p>
<blockquote>
<p>I find this surprising: &ldquo;git log&rdquo; is pretty much instantaneous, and
git recalculates a code piece&rsquo;s history in the process.  In contrast,
one has to tell Bazaar when one copies or moves or renames files, so
it should have the information available right away.</p>
</blockquote>
<p>The actual numbers:</p>
<ul>
<li><code>git log | head -1</code> 0.012 seconds.  The same command with Bazaar took 21.5 seconds.</li>
<li>Committing a single-file change: 0.08 seconds with Git, 17 seconds with Bazaar.</li>
</ul>
<p>The benchmarks kept coming.  <a href="https://yhetil.org/emacs-devel/jwvod9cq7av.fsf-monnier&#43;emacs@gnu.org/">Stefan Monnier</a>, the head maintainer, set
the bar low:</p>
<blockquote>
<p>I don&rsquo;t care if Bzr is slower or faster than Git, but in
order to switch to Bzr, we need it to be &lsquo;fast enough&rsquo;.  Currently it
is not.  At the very least the &lsquo;bzr diff&rsquo; should not take more than a
couple seconds.</p>
</blockquote>
<p>Meanwhile, <a href="https://yhetil.org/emacs-devel/d06a5cd30803122130h4dedcfbdx2cf5dda7ebd507ee@mail.gmail.com/">Jonathan Lange</a>, an actual Bazaar developer from Canonical,
was in the thread doing tech support.</p>
<p>His recommended workflow for the initial checkout:</p>
<blockquote>
<p>An even better way to do the initial download is this:</p>
<p>$ wget <a href="http://bzr.notengoamigos.org/emacs.tar.gz">http://bzr.notengoamigos.org/emacs.tar.gz</a></p>
<p>$ tar xzf emacs.tar.gz</p>
<p>$ bzr init-repo emacs-bzr</p>
<p>$ cd emacs-bzr</p>
<p>$ bzr branch ../emacs trunk</p>
<p>$ cd trunk</p>
<p>$ bzr pull &ndash;remember <a href="http://bzr.notengoamigos.org/emacs/trunk/">http://bzr.notengoamigos.org/emacs/trunk/</a></p>
</blockquote>
<p>Compare that to <code>git clone</code>!</p>
<p>Someone in the thread finally asked the obvious question:</p>
<blockquote>
<p>To the emacs maintainers and decision makers: What more information is
required to convince bzr is not the right tool at the present moment?</p>
</blockquote>
<p>Richard Stallman&rsquo;s reply:</p>
<blockquote>
<p>This decision is not a decision for the present moment.  It is a long
term decision.  So it would be better to wait a few months while Bzr
developers improve it, than to make some other &ldquo;temporary&rdquo; decision
that would probably be hard to reverse.</p>
</blockquote>
<p>And in case anyone missed the point, in a <a href="https://yhetil.org/emacs-devel/E1JbhT2-0003HR-PP@fencepost.gnu.org/">separate message</a>:</p>
<blockquote>
<p>This question is over and decided.
We will use GNU Bzr, because it is a GNU package.</p>
</blockquote>
<p>When someone pointed out that this political decision was &ldquo;wiping away
all technical arguments,&rdquo; RMS <a href="https://yhetil.org/emacs-devel/E1JfqPy-00030x-I0@fencepost.gnu.org/">replied</a>:</p>
<blockquote>
<p>The rule that GNU packages should support each other helps make the
GNU system as a whole work better.</p>
</blockquote>
<p>Someone asked the obvious follow-up: &ldquo;Why can&rsquo;t we just make Git part
of the GNU system?&rdquo;</p>
<p>RMS:</p>
<blockquote>
<p>We could include it in the GNU system, but
its developers are not likely to want to make it a GNU package.</p>
</blockquote>
<p>236 messages, benchmarks and a Canonical developer doing tech support
changed nothing.  The decision was political and it was already made.</p>
<h2 id="2008-2012-the-long-tail">2008-2012: The long tail</h2>
<p>The rest of the world moved to Git.  GitHub launched in 2008 and
exploded.  Emacs contributors, meanwhile, had to learn Bazaar, a
tool they used nowhere else, just to submit patches.</p>
<p>Threads like &ldquo;Help me unstick my bzr, please&rdquo; and &ldquo;Can NOT bzr the
emacs repos (may be bzr has a memory leak)&rdquo; became regular
occurrences.</p>
<p><strong>Then in 2012, Canonical laid off the Bazaar development team.</strong></p>
<h2 id="2013">2013</h2>
<p>In March 2013, a year after Bazaar&rsquo;s development ceased, <a href="https://yhetil.org/emacs-devel/m2620euf2l.fsf@newartisans.com/T/#u">John Wiegley
posted</a> what everyone had been wanting to say:</p>
<blockquote>
<p>We have often debated the merits of Git vs. Bazaar, and which one the
GNU project should use for Emacs development.  I think now is an
appropriate time to revisit this decision.</p>
<p>My main reason for bringing this up again is that Bazaar development
has effectively stalled.  There are major bugs which have been in their
bug-tracker for years now &ndash; bugs affecting Emacs development, such as
the ELPA repository &ndash; which have been ignored all this time.</p>
<p>So, to Richard as the undisputed Czar of all things Emacs: can we now,
pretty please, switch to Git?</p>
</blockquote>
<p>200 messages followed.</p>
<p>RMS&rsquo;s first response:</p>
<blockquote>
<p>The maintainer says he is fixing some bugs, and
I asked him just yesterday to fix the ELPA branch bug. I&rsquo;d like to
give him a reasonable time to do this.</p>
</blockquote>
<p>The bug was 1.5 years old.  <a href="https://yhetil.org/emacs-devel/87hajxqlly.fsf@yandex.ru/">Dmitry Gutov called it out</a>:</p>
<blockquote>
<p>Isn&rsquo;t this a bit late? The bug is 1.5 years old.  Was he not aware of it before?</p>
</blockquote>
<p>Then RMS <a href="https://yhetil.org/emacs-devel/E1UKtwC-0006bM-Dd@fencepost.gnu.org/">revealed his hand</a>:</p>
<blockquote>
<p>I am trying to determine whether Bzr is effectively maintained or
not.  I&rsquo;d rather get a Yes answer than a No answer.</p>
</blockquote>
<p>Honest, at least.</p>
<p><a href="https://yhetil.org/emacs-devel/m3txnwj6zm.fsf@chopper.vpn.verona.se/">Joakim Verona</a>, a longtime Bazaar user and Emacs contributor, described
the reality on the ground:</p>
<blockquote>
<p>I have done my best to be a constructive user of the tool, and I have
had many technical difficulties.  When I try to find solutions to the
issues I notice the following:</p>
<ul>
<li>The bzr community is very helpful. This is good.</li>
<li>There are many well known bugs. There are also many well known
patches for these, some of them provided by Emacs developers. They
never enter upstream. By &ldquo;never&rdquo; I mean years. This is bad.</li>
</ul>
</blockquote>
<p><a href="https://yhetil.org/emacs-devel/E1UL4KW-0002zx-Jj@fencepost.gnu.org/">RMS replied</a>:</p>
<blockquote>
<p>I don&rsquo;t have time to read the Bzr mailing list. Or any development
mailing list.  The only such list I am on is this one.  You might as
well tell me to fly to the moon as tell me to read something on the
Bzr list.</p>
</blockquote>
<p>And when asked whether the users of Bazaar should have a say in
whether Bazaar is sufficiently maintained:</p>
<blockquote>
<p>When I have to decide whether a maintainer is doing an adequate job or
needs to be replaced, I pay attention to whatever relevant information
I get.  However, to give users &ldquo;a say&rdquo; in the decision seems improper,
so I don&rsquo;t do that.</p>
</blockquote>
<p>Karl Fogel, a veteran open source developer (author of <a href="https://producingoss.com/">Producing Open
Source Software</a> and one of the original Subversion developers),
delivered the sharpest critique in the thread:</p>
<blockquote>
<p>Well, really, you don&rsquo;t have time to pay close enough attention to Bzr
development to competently decide whether it&rsquo;s still a good choice for
Emacs.  That&rsquo;s fine &ndash; no one has time to do every important thing,
and you do many other important things.</p>
<p>But then why do you think you still have the time &amp; mental bandwidth
to make this decision well?  Why not delegate it to the Emacs
maintainers on the grounds that you no longer have time to do a good
job of this evaluation?</p>
</blockquote>
<p>He pointed out that asking one person about one bug is not a proxy for
project health, and that others in the thread had already done more
thorough research than RMS could, given his time constraints.</p>
<p>RMS&rsquo;s reply:</p>
<blockquote>
<p>Because more than Emacs is at stake here.</p>
</blockquote>
<p>Karl pushed once more:</p>
<blockquote>
<p>You should either devote enough time to evaluating Bzr&rsquo;s maintenance
state to get a reliable answer, or delegate to someone who can do
so.  Instead, you&rsquo;re asking the maintainers to rely on your
investigation&hellip; yet you clearly don&rsquo;t have time to do a good
job.  This is a poor use of everyone&rsquo;s time.</p>
</blockquote>
<p>RMS:</p>
<blockquote>
<p>I already have a plan for how to proceed on this, and I am doing it.</p>
</blockquote>
<p>No details, no timeline.  Trust me.</p>
<p>Meanwhile, Stefan Monnier, posted exactly one substantive message in
the entire 200-message thread:</p>
<blockquote>
<p>Just like I didn&rsquo;t fight Richard&rsquo;s choice of Bazaar, I don&rsquo;t care very
much whether we keep using Bazaar or we change to Git, Monotone,
Darcs, Mercurial, OpenCM, Fossil, younameit.</p>
<p>The only thing I care for now is to move away from Bazaar for the
&rsquo;elpa&rsquo; branch because Bazaar can&rsquo;t handle it properly.</p>
</blockquote>
<p>Leo Liu summarized what everyone was thinking:</p>
<blockquote>
<p>Most GNU projects aren&rsquo;t using BZR as you might be aware.</p>
<p>While helping BZR fixing bugs might be a gain for BZR, it is a loss as
a whole for GNU.  Volunteers spend their spare time on GNU projects
and if 20% of that time is taken up by wrestling with BZR, it becomes
costly to the point discouraging people from joining.</p>
<p>For the greater good of GNU, move off BZR seems like the only sound
choice.</p>
</blockquote>
<p>The thread ended without a decision.  RMS had a plan, and he was
working on it.</p>
<h2 id="2013-the-elpa-branch-breaks">2013: The ELPA branch breaks</h2>
<p>Later that year, Stefan made the practical move that set the stage for
everything that followed.  The ELPA branch was broken on Bazaar, a bug
that crashed on checkout, with no one left to fix it.  Stefan moved it
to Git:</p>
<blockquote>
<p>I&rsquo;m not terribly happy about this change, since it means we&rsquo;ll be
using two different tools (Git for &rsquo;elpa&rsquo; and Bzr for &rsquo;trunk&rsquo;), but I
really see no other way out.</p>
<p>I don&rsquo;t want this to be a discussion about the merits/pitfalls of Git
vs Bzr, and this is not an occasion to discuss the use of Git for the
&rsquo;trunk&rsquo; either.</p>
</blockquote>
<p>Everyone was thinking &ldquo;if Git is good enough for ELPA, why not for
trunk?&rdquo;, and he shut that down before it started.</p>
<h2 id="2014-esr-pushes-the-button">2014: ESR pushes the button</h2>
<p>By August 2014, Eric S. Raymond had the conversion scripts ready.</p>
<p>He&rsquo;d been <a href="https://yhetil.org/emacs-devel/20140810205631.GA17907@thyrsus.com/">working on it quietly</a>:</p>
<blockquote>
<p>You haven&rsquo;t heard much about it because the hard work is all done. I
have the scripts ready to go and need only about eight hours&rsquo; notice
before pushing the button.</p>
</blockquote>
<p>The actual migration happened in November 2014. On November 13th, ESR
posted a <a href="https://yhetil.org/emacs-devel/20141113031255.GA21938@thyrsus.com/">six-word message</a>:</p>
<blockquote>
<p>Commits are open.  Have at it.</p>
</blockquote>
<p>Which some even described as <a href="https://yhetil.org/emacs-devel/8761ej6ql7.fsf@ktab.red-bean.com/">heroic</a>.</p>
<p>Six years of arguing, and it ended with six words.</p>
<h2 id="the-aftermath">The aftermath</h2>
<p>The days following the migration were educational.  Half the core
contributors had never used Git:</p>
<ul>
<li>&ldquo;<a href="https://yhetil.org/emacs-devel/m3sihnf5jy.fsf@stories.gnus.org/">This Is The Git Help Mailing List</a>&rdquo;</li>
<li>&ldquo;git pull fails with merge conflicts.  How can this possibly happen?&rdquo;</li>
<li>&ldquo;A simple git workflow for the rest of us&rdquo;</li>
<li>&ldquo;need help adjusting workflow to git&rdquo;</li>
<li>&ldquo;Good book on Git&rdquo;</li>
<li>&ldquo;Obscure error/warning/information message from git pull&rdquo; (124 messages)</li>
</ul>
<p>Core Emacs developers asking basic Git questions, because they had
spent six years on Bazaar while everyone else moved on.</p>
<p>What a bzr saga! Anyway, better than any film I could have watched
tonight.</p>
]]></content:encoded>
    </item>
  </channel>
</rss>
