Mercurial vs Git

Richard Laager rlaager at
Thu Jan 20 11:11:19 EST 2011

On Thu, 2011-01-20 at 12:35 +0200, Felipe Contreras wrote:
> On Thu, Jan 20, 2011 at 5:56 AM, John Bailey <rekkanoryo at> wrote:
> > On 01/19/2011 06:17 PM, Felipe Contreras wrote:
> >> This is why it's possible in the linux kernel to have hundreds of maintainer
> >> repositories, each one with dozens of branches and patches coming from the
> >> branches of even more developers. Branches are merely a utility to identify
> >> commits.
> >
> > That's great for projects that operate in that manner, like the kernel.  For our
> > practices, I think a more "traditional" branching model where a branch is more
> > than just a floating reference is more appropriate.
> Why? How exactly would a floating reference affect your project negatively?

It wouldn't. It's the lack of a non-floating branch identifier that John
doesn't like. Mercurial has both (bookmarks and branches); git only has

> And you would see from which branch the commits came from:
> Merge branch 'rlaager-foo'

I asked how you would tell for revision B1, B2, or B3, not for the A4

That said, I think your points about the inconsistencies are sound. Even
with MTN now, we can still end up with revisions on trunk that don't
have branch information, so I don't see any reason to worry about this
branching difference that much either way.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <>

More information about the Devel mailing list