|
|
Log in / Subscribe / Register

Raymond: bzr is dying; Emacs needs to move

Raymond: bzr is dying; Emacs needs to move

Posted Jan 13, 2014 14:17 UTC (Mon) by eliz (guest, #94829)
In reply to: Raymond: bzr is dying; Emacs needs to move by cortana
Parent article: Raymond: bzr is dying; Emacs needs to move

> I'm having a hard time understanding how the result of merging commit A to commit B can possibly result in a different topology than merging B to A.

Because bzr is fundamentally branch-centric. It crucially distinguishes between "my commits" on the branch on which I develop, and "commits that I merged" from other branches.

In a nutshell, when a team develops in git, it creates a single common DAG. That DAG might not physically exist in its entirety on all the team's machines (and might not exist anywhere at all), but if you connect all of its parts, you get a single common DAG. By contrast, in bzr there's no "common DAG" at all. There's "my DAG", "your DAG", "his DAG", etc., and they are all different, although they share most of the nodes (commits). In "my DAG", "my commits" are arranged linearly (that's my "mainline", the linear sequence of my commits which include the left parents of merge commits), one after the other, while "commits that I merged" start as branches that fork off of some commit by me and then converge back where I merged them.

This fundamental difference is why bzr is better suited to centralized and star-like arrangements of project development (like Emacs), while git is much better suited to to truly distributed development (which Emacs isn't, and probably never will be).

> Are there any diagrams that illustrate the difference?

I will post some pointers in a moment.


The LWN site is currently under high scraper load, so comment display has been suppressed for anonymous users. If you are a human, you may read the comments by clicking the button below:

Note: you can avoid this step in the future by logging into your LWN account.


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds